From c82aefd2a4cbb36df60734f495051f5f1e42666b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 7 Apr 2022 18:51:20 +0300 Subject: [PATCH] ci: Run coverage job on the stable image --- .gitlab-ci.yml | 2 +- ci/install-rust.sh | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23efb846c..5f8c7adde 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -440,7 +440,7 @@ coverage: allow_failure: true extends: - '.cargo test' - - .img-nightly + - .img-stable stage: 'extras' variables: ALL_FEATURES: 'yes' diff --git a/ci/install-rust.sh b/ci/install-rust.sh index 20c726261..07fed3fa8 100755 --- a/ci/install-rust.sh +++ b/ci/install-rust.sh @@ -23,15 +23,16 @@ rustc --version if [ "$RUST_IMAGE_FULL" = "1" ]; then rustup component add clippy-preview rustup component add rustfmt + cargo install --force cargo-deny cargo install --force cargo-outdated + + # Coverage tools + rustup component add llvm-tools-preview + cargo install --force grcov fi if [ "$RUST_VERSION" = "nightly" ]; then - # Coverage tools - cargo install grcov - rustup component add llvm-tools-preview - # Documentation tools cargo install --force rustdoc-stripper fi