diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b89f400a16f3..a8d91ec99238 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -210,12 +210,12 @@ codecov: variables: # For codecov it's sufficient to run the fuzz tests only once. QUICKCHECK_TESTS: 1 - CARGO_INCREMENTAL: 0 + # CARGO_INCREMENTAL: 0 # Needed because `codecov` requires nightly features to work # (see `-Z` in the `RUSTFLAGS` below). - RUSTC_BOOTSTRAP: "1" + # RUSTC_BOOTSTRAP: "1" # Variables partly came from https://github.com/mozilla/grcov/blob/master/README.md - RUSTFLAGS: "-Zprofile -Zmir-opt-level=0 -Ccodegen-units=1 -Clink-dead-code -Copt-level=0 -Coverflow-checks=off" + # RUSTFLAGS: "-Zprofile -Zmir-opt-level=0 -Ccodegen-units=1 -Clink-dead-code -Copt-level=0 -Coverflow-checks=off" RUSTDOCFLAGS: "-Cpanic=abort" # The `cargo-taurpalin` coverage reporting tool seems to have better code instrumentation and thus # produces better results for Rust codebases in general. However, unlike `grcov` it requires @@ -228,6 +228,7 @@ codecov: --locked --release --no-fail-fast + --partition count:1/5 --features try-runtime,experimental > /dev/null || echo "some errors" - mkdir -p target/coverage - grcov . --binary-path ./target/release/deps/ -s . -t lcov --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o target/coverage/tests.lcov