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.
This commit is contained in:
François Laignel 2022-02-21 21:12:32 +01:00 committed by Sebastian Dröge
parent 54ebb1c254
commit 91ead3da7a

View file

@ -132,10 +132,10 @@ update-nightly:
script: script:
- rustc --version - rustc --version
- cargo build --locked --color=always --all - cargo build --locked --color=always --workspace --all-targets
- G_DEBUG=fatal_warnings cargo test --locked --color=always --all - G_DEBUG=fatal_warnings cargo test --locked --color=always --workspace --all-targets
- cargo build --locked --color=always --all --examples --all-features - cargo build --locked --color=always --workspace --all-targets --all-features
- G_DEBUG=fatal_warnings cargo test --locked --color=always --all --examples --all-features - G_DEBUG=fatal_warnings cargo test --locked --color=always --workspace --all-targets --all-features
test msrv: test msrv:
extends: extends: