test: Use `cargo nextest` instead of `cargo test` to show test run times

This will be very useful for optimizing and benchmarking.
This commit is contained in:
Mikolaj Wielgus 2025-09-15 15:33:42 +02:00
parent aee8c42720
commit 1ba0b47cef
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ steps:
CARGO_TERM_COLOR: always
commands:
- rustup default "$CHANNEL"
- cargo test -j4 --verbose --no-default-features --features "$FEATURES"
- cargo binstall cargo-nextest --secure
- cargo nextest -j4 --verbose --no-default-features --features "$FEATURES"
when:
event: [pull_request, push, tag]
# Only run tests for stable channel to avoid straining Codeberg's CI.