-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source-based coverage #840
Source-based coverage #840
Conversation
Codecov Report
@@ Coverage Diff @@
## master #840 +/- ##
=========================================
+ Coverage 29.1% 67.7% +38.5%
=========================================
Files 194 209 +15
Lines 10766 16812 +6046
Branches 4444 0 -4444
=========================================
+ Hits 3134 11382 +8248
- Misses 4653 5430 +777
+ Partials 2979 0 -2979
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's give this a try 👍 I'm looking forward to the results. Thanks @vitorenesduarte!
Awesome, thanks a lot @vitorenesduarte ! |
@vitorenesduarte could you try the latest version of grcov, with LLVM_PROFILE_FILE set to |
|
With this PR, we start tracking coverage using LLVM's source-based coverage: https://blog.rust-lang.org/inside-rust/2020/11/12/source-based-code-coverage.html
LLVM_PROFILE_FILE="%m.profraw"
to avoid overwrites of coverage data (which occur when several test binaries are run for the same crate): Output filenames for -Z instrument-coverage rust-lang/rust#79899With this, coverage is at 67.7%, which seems to be an all-time high 😄