ci: Run coverage job on the stable image

This commit is contained in:
Sebastian Dröge 2022-04-07 18:51:20 +03:00
parent 680d4af732
commit c82aefd2a4
2 changed files with 6 additions and 5 deletions

View file

@ -440,7 +440,7 @@ coverage:
allow_failure: true
extends:
- '.cargo test'
- .img-nightly
- .img-stable
stage: 'extras'
variables:
ALL_FEATURES: 'yes'

View file

@ -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