diff --git a/.cirrus.yml b/.cirrus.yml index 96ee41e9..cd1631c0 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -21,6 +21,6 @@ task: - rustup component add llvm-tools-preview test_script: - . $HOME/.cargo/env - - env LLVM_PROFILE_FILE="calloop-%p-%m.profraw" RUSTFLAGS="-Zinstrument-coverage" cargo test --all-features + - env LLVM_PROFILE_FILE="calloop-%p-%m.profraw" RUSTFLAGS="-Cinstrument-coverage --cfg coverage" cargo test --all-features - grcov . --binary-path ./target/debug -s . -t lcov --branch --llvm --ignore-not-existing --keep-only "src/*" --excl-br-start "mod tests \{" --excl-start "mod tests \{" --excl-br-line "#\[derive\(" --excl-line "#\[derive\(" -o lcov.info - bash -c 'bash <(curl -s https://codecov.io/bash) -f lcov.info' -F freebsd