mirror of https://codeberg.org/topola/topola.git
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:
parent
aee8c42720
commit
1ba0b47cef
|
|
@ -29,7 +29,8 @@ steps:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
commands:
|
commands:
|
||||||
- rustup default "$CHANNEL"
|
- 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:
|
when:
|
||||||
event: [pull_request, push, tag]
|
event: [pull_request, push, tag]
|
||||||
# Only run tests for stable channel to avoid straining Codeberg's CI.
|
# Only run tests for stable channel to avoid straining Codeberg's CI.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue