Skip to content

Commit efd61cf

Browse files
authored
chore: Run tests and miri with nextest (#1855)
Utilize [nextest](https://nexte.st/) to run tests and miri, which should be faster.
1 parent 6ef3c02 commit efd61cf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,11 @@ jobs:
166166
- uses: ./.github/actions/setup-rust
167167
- name: Install grcov
168168
run: cargo install grcov
169+
- uses: taiki-e/install-action@v2
170+
with:
171+
tool: nextest
169172
- name: Rust Test
170-
run: cargo test --workspace --all-features
173+
run: cargo nextest run --workspace --all-features --no-fail-fast
171174
- name: Generate coverage report
172175
run: |
173176
grcov . --binary-path target/debug/ -s . -t lcov --llvm --ignore-not-existing \
@@ -204,8 +207,11 @@ jobs:
204207
- uses: rui314/setup-mold@v1
205208
- uses: actions/checkout@v4
206209
- uses: ./.github/actions/setup-rust
210+
- uses: taiki-e/install-action@v2
211+
with:
212+
tool: nextest
207213
- name: Run tests with Miri
208-
run: cargo miri test
214+
run: cargo miri nextest run --no-fail-fast
209215

210216
bench-test:
211217
name: "bench test"

0 commit comments

Comments
 (0)