Skip to content

Commit

Permalink
Switch to nextest in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Notgnoshi committed Dec 25, 2024
1 parent 8d49cbe commit 189b8c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[profile.default]
slow-timeout = { period = "500ms", terminate-after = 5, grace-period = "2s" }
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@ jobs:
components: clippy
- name: Setup Rust cache
uses: swatinem/rust-cache@v2
- name: Setup nextest
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest
- name: Build
run: cargo build --release --all-targets --all-features
- name: Clippy
run: cargo clippy --no-deps --release --all-targets --all-features
- name: Test
run: |
git fetch
cargo test --release --all-targets --all-features
cargo nextest run --release --all-targets --all-features

0 comments on commit 189b8c4

Please sign in to comment.