diff options
author | François Laignel <fengalin@free.fr> | 2022-02-21 23:12:32 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2022-02-22 01:32:32 +0300 |
commit | e0e890fd8d4055ef076cd57b3e1a3f8c40e92d5f (patch) | |
tree | 375b38607abd3d111a8fa345fcf6d0e55c5fb04f /.gitlab-ci.yml | |
parent | 422ea740ca937c3d669b7c961a67a09d9b1baed0 (diff) |
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files 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: |