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

Replace Tarpaulin by cargo-llvm-cov for coverage #935

Merged
merged 3 commits into from
Jan 30, 2025

Conversation

praseodym
Copy link
Contributor

Switching to cargo-llvm-cov resolves false negatives in our code coverage. Resolves #934

@praseodym praseodym requested a review from a team as a code owner January 30, 2025 11:30
@praseodym praseodym self-assigned this Jan 30, 2025
@praseodym praseodym added backend Issues or pull requests that relate to the backend tests Issues or pull requests that relate to tests rust Pull requests that update Rust code continuous-integration labels Jan 30, 2025
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.42%. Comparing base (f30c2fc) to head (6845cfd).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #935      +/-   ##
==========================================
+ Coverage   85.21%   86.42%   +1.21%     
==========================================
  Files         257      257              
  Lines       10571    13094    +2523     
  Branches     1135     1246     +111     
==========================================
+ Hits         9008    11317    +2309     
- Misses       1543     1688     +145     
- Partials       20       89      +69     

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

Copy link

github-actions bot commented Jan 30, 2025

Sigrid maintainability feedback

💭️ You did not change any files that are measured by Sigrid


View this system in Sigrid

@Lionqueen94
Copy link
Contributor

If we want branch coverage we do need nightly, see: #934 (comment)

Also disable file search and fail on upload error.
@praseodym praseodym enabled auto-merge January 30, 2025 12:40
@praseodym praseodym added this pull request to the merge queue Jan 30, 2025
Merged via the queue into main with commit 9cb7092 Jan 30, 2025
21 checks passed
@praseodym praseodym deleted the 934-rust-code-coverage branch January 30, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues or pull requests that relate to the backend continuous-integration rust Pull requests that update Rust code tests Issues or pull requests that relate to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False negatives in Rust code coverage
3 participants