diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9fd28936d..b237cd071 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ rust-latest: - cargo build --verbose --target x86_64-unknown-linux-gnu - cargo test --verbose --target x86_64-unknown-linux-gnu - rustup component add clippy rustfmt - - cargo clippy --all-features --all-targets --tests -- -D warnings + - cargo clippy --all-features --all-targets -- -D warnings - cargo fmt -- --check - cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit - ./maint/cargo_audit.sh @@ -45,7 +45,7 @@ rust-nightly: - cargo test --verbose --target x86_64-unknown-linux-gnu --all-features - rustup component add clippy # We check these extra warnings on CI only, since we don't want to forbid them while developing. - - cargo clippy --all-features --all-targets -- -D clippy::dbg_macro -D clippy::print_stdout -D clippy::print_stderr + - cargo clippy --all-features --tests -- -D clippy::dbg_macro -D clippy::print_stdout -D clippy::print_stderr - RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features --document-private-items tags: - amd64