From e0e890fd8d4055ef076cd57b3e1a3f8c40e92d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Mon, 21 Feb 2022 21:12:32 +0100 Subject: [PATCH] ci: cargo test --all-features too... ... and replace the deprecated --all argument with --workspace. Also use --all-targets so that code, unit tests, integration tests and examples can all be compiled or tested in one go. --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf2c940a1..33c5311ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -139,10 +139,10 @@ update-nightly: script: - rustc --version - - cargo build --locked --color=always --all - - G_DEBUG=fatal_warnings cargo test --locked --color=always --all - - cargo build --locked --color=always --all --examples --all-features - - G_DEBUG=fatal_warnings cargo test --locked --color=always --all --examples --all-features + - cargo build --locked --color=always --workspace --all-targets + - G_DEBUG=fatal_warnings cargo test --locked --color=always --workspace --all-targets + - cargo build --locked --color=always --workspace --all-targets --all-features + - G_DEBUG=fatal_warnings cargo test --locked --color=always --workspace --all-targets --all-features test msrv: extends: