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

Use cargo llvm-cov for coverage reports #2993

Draft
wants to merge 3 commits into
base: latest
Choose a base branch
from
Draft

Conversation

luizirber
Copy link
Member

@luizirber luizirber commented Feb 11, 2024

Explore using https://github.com/taiki-e/cargo-llvm-cov for Rust coverage report

I think this might unlock Python+Rust coverage too, where we measure coverage for Rust code from python tests too.
More info:

Copy link

codecov bot commented Feb 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f3dc5f2) 86.63% compared to head (b472e7b) 82.91%.
Report is 1 commits behind head on latest.

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #2993      +/-   ##
==========================================
- Coverage   86.63%   82.91%   -3.73%     
==========================================
  Files         135      135              
  Lines       15389    20274    +4885     
  Branches     2624    10371    +7747     
==========================================
+ Hits        13333    16810    +3477     
- Misses       1755     2938    +1183     
- Partials      301      526     +225     
Flag Coverage Δ
hypothesis-py 25.56% <ø> (ø)
python 92.85% <ø> (ø)
rust 66.83% <ø> (+7.40%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant