Skip to content

Commit 70b6e6a

Browse files
committed
fix: play with parallelism to avoid conflicts on runners
1 parent 0616be7 commit 70b6e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Run usual tests in release profile
4848
run: cargo test --verbose --release --workspace --all-targets ${{ matrix.cargo-args }} -- --nocapture
4949
- name: Run isolated PoRep tests in release profile
50-
run: cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --nocapture
50+
run: cargo test --release -p storage-proofs-porep --features isolated-testing ${{ matrix.cargo-args }} -- --nocapture --test-threads=1
5151
- name: Run isolated update tests in release profile
5252
run: cargo test --release -p storage-proofs-update --features isolated-testing ${{ matrix.cargo-args }} -- --nocapture
5353

@@ -91,7 +91,7 @@ jobs:
9191
steps:
9292
- uses: actions/checkout@v4
9393
- name: Test with CUDA
94-
run: cargo test --verbose --release --workspace --features cuda -- --nocapture ${{ matrix.test-args }}
94+
run: cargo test --verbose --release --workspace --features cuda -- --nocapture ${{ matrix.test-args }} -- --test-threads=1
9595
- name: Test with `cuda-supraseal`
9696
run: CC=gcc-12 CXX=g++-12 NVCC_PREPEND_FLAGS='-ccbin /usr/bin/g++-12' cargo test -p filecoin-proofs --release --no-default-features --features cuda-supraseal -- --nocapture --test-threads=1 ${{ matrix.test-args }}
9797

0 commit comments

Comments
 (0)