Skip to content

Commit 7f294fd

Browse files
committed
8 parallel
1 parent 27df875 commit 7f294fd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ name: test
88

99
jobs:
1010
test_with_codecov:
11-
name: Run tests coverage (Partition ${{ matrix.partition }}/5)
11+
name: Run tests coverage (Partition ${{ matrix.partition }}/${{ strategy.job-total }})
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
partition: [1, 2, 3, 4, 5]
15+
partition: [1, 2, 3, 4, 5, 6, 7, 8]
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
@@ -52,7 +52,7 @@ jobs:
5252
- name: Run cargo-llvm-cov
5353
run: |
5454
mkdir -p ./coverage/reports/
55-
cargo llvm-cov nextest --lib --bins --tests --retries 1 --max-fail 5:immediate --partition hash:${{ matrix.partition }}/5 --features integration-test --no-capture
55+
cargo llvm-cov nextest --lib --bins --tests --retries 1 --max-fail 5:immediate --partition hash:${{ matrix.partition }}/${{strategy.job-total}} --features integration-test --no-capture
5656
cargo llvm-cov report --cobertura --output-path ./coverage/reports/cobertura-${{ strategy.job-index }}.xml
5757
5858
- name: Upload coverage to Codecov

codecov.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
codecov:
22
notify:
3-
after_n_builds: 2
3+
after_n_builds: 8
44
comment:
5-
after_n_builds: 2
5+
after_n_builds: 8
66
coverage:
77
status:
88
project:

0 commit comments

Comments
 (0)