From 1ba0b47cefddebb48042e7e82151885290a98b20 Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Mon, 15 Sep 2025 15:33:42 +0200 Subject: [PATCH] test: Use `cargo nextest` instead of `cargo test` to show test run times This will be very useful for optimizing and benchmarking. --- .woodpecker/build_and_test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build_and_test.yaml b/.woodpecker/build_and_test.yaml index 614865c..5f13559 100644 --- a/.woodpecker/build_and_test.yaml +++ b/.woodpecker/build_and_test.yaml @@ -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.