Skip to content
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

Merged
merged 1 commit into from
Jan 5, 2025
Merged

fix doc coverage bug #235

merged 1 commit into from
Jan 5, 2025

Conversation

TroyKomodo
Copy link
Member

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

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
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.75%. Comparing base (e4800b4) to head (4fb56d8).
Report is 2 commits behind head on main.

Current head 4fb56d8 differs from pull request most recent head 42590b4

Please upload reports for the commit 42590b4 to get more accurate results.

✅ 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

Components Coverage Δ
scuffle-batching 96.34% <ø> (-3.66%) ⬇️
scuffle-bootstrap 27.15% <ø> (ø)
scuffle-context 55.02% <ø> (+55.02%) ⬆️
scuffle-ffmpeg 0.00% <ø> (ø)
scuffle-h3-webtransport 0.00% <ø> (ø)
scuffle-http 0.00% <ø> (ø)
scuffle-metrics 45.39% <ø> (+2.93%) ⬆️
scuffle-pprof 0.00% <ø> (ø)
scuffle-settings 0.00% <ø> (ø)
scuffle-signal 43.41% <ø> (ø)
postcompile 0.00% <ø> (ø)
scuffle-image-processor ∅ <ø> (∅)

@lennartkloock
Copy link
Member

?brawl merge

@scuffle-brawl
Copy link
Contributor

scuffle-brawl bot commented Jan 5, 2025

📌 Commit 42590b4 has been approved and added to the merge queue.

Requested by: @lennartkloock

Approved by: @lennartkloock

@scuffle-brawl
Copy link
Contributor

scuffle-brawl bot commented Jan 5, 2025

⌛ Trying commit 42590b4 with merge 17a2a11...

@scuffle-brawl
Copy link
Contributor

scuffle-brawl bot commented Jan 5, 2025

🎉 Build successful!
Completed in 1:32

Approved by: @lennartkloock
Pushing 17a2a11 to main

@scuffle-brawl scuffle-brawl bot merged commit 17a2a11 into main Jan 5, 2025
7 checks passed
@scuffle-brawl scuffle-brawl bot deleted the troy/fix-doc-coverage branch January 5, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants