ci: use -Cinstrument-coverage instead of -Zprofile#470
Merged
sylvestre merged 1 commit intouutils:mainfrom Feb 13, 2025
Merged
Conversation
4dd8145 to
c4c14e1
Compare
c4c14e1 to
82fd8e9
Compare
0eb54a7 to
9dcb6a6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #470 +/- ##
===========================================
+ Coverage 66.89% 87.46% +20.56%
===========================================
Files 36 31 -5
Lines 4438 6692 +2254
Branches 984 299 -685
===========================================
+ Hits 2969 5853 +2884
+ Misses 1059 627 -432
+ Partials 410 212 -198 ☔ View full report in Codecov by Sentry. |
fc823e6 to
bca84ba
Compare
Contributor
|
grcov also supports -Cinstrument-coverage they use it upstream |
Contributor
Author
|
Yes, I know that |
Contributor
|
I know upstream ( @marco-c ) very well ;) |
f2ca2a9 to
1a86b28
Compare
b170cc7 to
18dc8b2
Compare
and use cargo-llvm-cov instead of grcov. Support for -Zprofile has been removed from Rust nightly: rust-lang/rust#131829
bca84ba to
9d1a977
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is an attempt to fix the "code coverage" job by using
-Cinstrument-coverageinstead of-Zprofilewhich has been removed from Rust nightly: rust-lang/rust#131829 . For this purpose,cargo-llvm-covis used instead ofgrcov.