Skip to content

Commit

Permalink
[ci] use nextest for tests (#1477)
Browse files Browse the repository at this point in the history
* [do not merge] ci: try nextest

* uncomment jobs
  • Loading branch information
alvicsam authored Jul 28, 2022
1 parent 53f255d commit c5dc2e3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,18 @@ test-linux-stable:
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
script:
- time cargo test --all --release --locked -- --include-ignored
- time cargo nextest run --all --release --locked --run-ignored all

test-doc:
stage: test
<<: *docker-env
<<: *common-refs
variables:
# Enable debug assertions since we are running optimized builds for testing
# but still want to have debug assertions.
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
script:
- time cargo test --doc

check-runtime-benchmarks:
stage: test
Expand Down

0 comments on commit c5dc2e3

Please sign in to comment.