Skip to content

Commit

Permalink
fixup! fixup! fixup! fix(ci): replace removed -Zprofile with -Cinstru…
Browse files Browse the repository at this point in the history
…ment-coverage for source-based coverage reports
  • Loading branch information
pulsastrix committed Nov 20, 2024
1 parent 6ef4d5a commit 2d870c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
LLVM_PROFILE_FILE: 'target/debug/coverage/dcaf-%p-%m.profraw'
RUSTFLAGS: '-Cinstrument-coverage -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-C instrument-coverage -Cpanic=abort -Zpanic_abort_tests -Z unstable-options --persist-doctests target/debug/'
- run: zip ./target/debug/coverage/files.zip "./target/debug/deps/dcaf-*.profraw"
- run: zip ./target/debug/coverage/files.zip "./target/debug/coverage/dcaf-*.profraw"
- run: grcov ./target/debug/coverage/files.zip -s . --binary-path ./target/debug/ --service-name "Continuous Integration" --commit-sha ${GITHUB_SHA} -t coveralls --branch --ignore-not-existing --ignore "../*" --ignore "/*" --ignore "*/test_helper.rs" -o ./target/debug/coverage/ --token=${COVERALLS_TOKEN}
- name: Coveralls upload
uses: coverallsapp/github-action@main
Expand Down

0 comments on commit 2d870c8

Please sign in to comment.