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

Improve coverage and generate report locally #891

Merged
merged 9 commits into from Feb 22, 2024

Conversation

Spacetown
Copy link
Member

If theist is executed locally and the environment USE_COVERAGE=true HTML coverage report is generated after executing the tests.

If test with active coverage is executed in local environment a HMTL
report is generated instead of a XML one. In this case also failing
tests are ignored.
@Spacetown Spacetown added Type: Enhancement QA related to testing, build infrastructure, etc labels Feb 20, 2024
@Spacetown Spacetown added this to the Upcoming release milestone Feb 20, 2024
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.70%. Comparing base (7ae6f8a) to head (b21dad6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #891      +/-   ##
==========================================
+ Coverage   95.37%   95.70%   +0.32%     
==========================================
  Files          54       56       +2     
  Lines        4566     4698     +132     
  Branches      904      911       +7     
==========================================
+ Hits         4355     4496     +141     
+ Misses        129      125       -4     
+ Partials       82       77       -5     

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

@Spacetown Spacetown merged commit 2ec456a into gcovr:main Feb 22, 2024
28 checks passed
@Spacetown Spacetown deleted the improve_coverage branch February 22, 2024 20:41
@Spacetown Spacetown removed this from the Upcoming release milestone Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA related to testing, build infrastructure, etc Type: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant