Skip to content

Commit

Permalink
run 1/5 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam committed Dec 21, 2023
1 parent d289715 commit 1382b7d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1382b7d

Please sign in to comment.