Skip to content
Snippets Groups Projects
Verified Commit 2fc67c01 authored by arturomf94's avatar arturomf94
Browse files

Use stable image and download nightly in coverage

Following suggestion here:
`tpo/core/arti#250 (comment 2764010)`
parent b46a5620
No related branches found
No related tags found
1 merge request!221Add test coverage tracking with CI/CD
......@@ -52,11 +52,13 @@ rust-nightly:
coverage:
stage: test
image: rustlang/rust:nightly
image: rust:latest
variables:
RUSTFLAGS: "-Zinstrument-coverage"
LLVM_PROFILE_FILE: "coverage-%p-%m.profraw"
script:
- rustup toolchain add nightly
- rustup default nightly
- rustup component add llvm-tools-preview
- cargo build --verbose --target x86_64-unknown-linux-gnu --all-features
- cargo test --verbose --target x86_64-unknown-linux-gnu --all-features
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment