-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
fix doc coverage bug #235
fix doc coverage bug #235
Conversation
For some reason cargo llvm-cov report does not include doc coverage even if the doc coverage profraw files are there. It seems you also need to add the flag `--doctests` to the report command. I opened an upstream issue to see if this is the desired behaviour or not. It seems a bit unintuitive. taiki-e/cargo-llvm-cov#412
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #235 +/- ##
==========================================
+ Coverage 48.91% 49.75% +0.83%
==========================================
Files 199 200 +1
Lines 16329 16424 +95
==========================================
+ Hits 7987 8171 +184
+ Misses 8342 8253 -89 see 6 files with indirect coverage changes
|
?brawl merge |
📌 Commit 42590b4 has been approved and added to the merge queue. Requested by: @lennartkloock Approved by: @lennartkloock |
🎉 Build successful! Approved by: @lennartkloock |
For some reason cargo llvm-cov report does not include doc coverage even if the doc coverage profraw files are there. It seems you also need to
add the flag
--doctests
to the report command.I opened an upstream issue to see if this is the desired behaviour or not. It seems a bit unintuitive.
taiki-e/cargo-llvm-cov#412