From 5552584dde7196e5a0b3f2e2a81736275a360160 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Thu, 28 Jul 2022 10:18:35 +0200 Subject: [PATCH] [ci] use nextest for tests (#1477) * [do not merge] ci: try nextest * uncomment jobs --- cumulus/.gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/cumulus/.gitlab-ci.yml b/cumulus/.gitlab-ci.yml index 25d17f2147..eab592d70b 100644 --- a/cumulus/.gitlab-ci.yml +++ b/cumulus/.gitlab-ci.yml @@ -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