Skip to content

Commit

Permalink
Comment out jobs for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeviant committed Sep 19, 2024
1 parent d3a9a80 commit a8b1369
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/deploy_collab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,55 +11,55 @@ env:
# DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

jobs:
style:
name: Check formatting and Clippy lints
runs-on:
- self-hosted
- test
steps:
- name: Checkout repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
clean: false
fetch-depth: 0

- name: Run style checks
uses: ./.github/actions/check_style

- name: Run clippy
run: ./script/clippy

tests:
name: Run tests
runs-on:
- self-hosted
- test
needs: style
steps:
- name: Checkout repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
clean: false
fetch-depth: 0

- name: Install cargo nextest
shell: bash -euxo pipefail {0}
run: |
cargo install cargo-nextest
- name: Limit target directory size
shell: bash -euxo pipefail {0}
run: script/clear-target-dir-if-larger-than 100

- name: Run tests
shell: bash -euxo pipefail {0}
run: cargo nextest run --package collab --no-fail-fast
# style:
# name: Check formatting and Clippy lints
# runs-on:
# - self-hosted
# - test
# steps:
# - name: Checkout repo
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
# with:
# clean: false
# fetch-depth: 0

# - name: Run style checks
# uses: ./.github/actions/check_style

# - name: Run clippy
# run: ./script/clippy

# tests:
# name: Run tests
# runs-on:
# - self-hosted
# - test
# needs: style
# steps:
# - name: Checkout repo
# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
# with:
# clean: false
# fetch-depth: 0

# - name: Install cargo nextest
# shell: bash -euxo pipefail {0}
# run: |
# cargo install cargo-nextest

# - name: Limit target directory size
# shell: bash -euxo pipefail {0}
# run: script/clear-target-dir-if-larger-than 100

# - name: Run tests
# shell: bash -euxo pipefail {0}
# run: cargo nextest run --package collab --no-fail-fast

publish:
name: Publish collab server image
needs:
- style
- tests
# needs:
# - style
# # - tests
runs-on:
- buildjet-16vcpu-ubuntu-2204
steps:
Expand Down

0 comments on commit a8b1369

Please sign in to comment.