Skip to content

Commit 609e21f

Browse files
committed
ci: run tests in parallel to speedup the ci
1 parent 11a0394 commit 609e21f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,20 @@ jobs:
7070

7171
tests:
7272
runs-on: ubuntu-latest
73+
strategy:
74+
matrix:
75+
partition: [1, 2, 3, 4, 5]
7376
steps:
7477
- uses: actions/checkout@v4
7578
with:
7679
submodules: true
7780
- uses: moonrepo/setup-rust@v1
81+
with:
82+
bins: cargo-nextest
7883
env:
7984
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80-
- run: cargo test --all
85+
86+
- run: cargo nextest run --partition count:${{ matrix.partition }}/5
8187

8288
compat-integration-test-instrumentation:
8389
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)