Skip to content

Commit ffaac8e

Browse files
committed
parallel tests and faster runners
1 parent 38d83a2 commit ffaac8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
runs-on: ${{ matrix.runner }}
8282
strategy:
8383
matrix:
84-
runner: ['ubuntu-latest', ["self-hosted", "linux", "arm64", "xlarge"], 'macos-latest']
84+
runner: [["self-hosted", "linux", "x64", "4xlarge"], ["self-hosted", "linux", "arm64", "4xlarge"], 'macos-latest']
8585
fail-fast: false
8686
steps:
8787
- run: echo "Running on $RUNNER_OS $RUNNER_ARCH"
@@ -124,9 +124,9 @@ jobs:
124124
- if: github.event.inputs.run-leak-detector == 'true'
125125
run: make cgo-leakdetect
126126
- if: runner.os == 'Linux'
127-
run: cd rust && FIL_PROOFS_PARAMETER_CACHE="${GITHUB_WORKSPACE}/filecoin-proof-parameters/" RUST_LOG=info cargo test --all --release -- --test-threads 1 && cd ..
127+
run: cd rust && FIL_PROOFS_PARAMETER_CACHE="${GITHUB_WORKSPACE}/filecoin-proof-parameters/" RUST_LOG=info cargo test --all --release && cd ..
128128
- if: runner.os == 'Linux'
129-
run: GOEXPERIMENT=cgocheck2 RUST_LOG=info go test -p 1 -timeout 60m
129+
run: GOEXPERIMENT=cgocheck2 RUST_LOG=info go test -timeout 60m
130130
- if: runner.os == 'macOS'
131131
name: Build project and tests, but don't actually run the tests (used to verify that build/link works with Darwin)
132132
run: GOEXPERIMENT=cgocheck2 RUST_LOG=info go test -run=^$

0 commit comments

Comments
 (0)