Skip to content

Improve code coverage CI with grcov HTML reports#483

Merged
juntyr merged 9 commits into
ron-rs:masterfrom
juntyr:better-codecov
Aug 23, 2023
Merged

Improve code coverage CI with grcov HTML reports#483
juntyr merged 9 commits into
ron-rs:masterfrom
juntyr:better-codecov

Conversation

@juntyr

@juntyr juntyr commented Aug 22, 2023

Copy link
Copy Markdown
Member

This PR improves our code coverage generation and moves our coverage data from codecov.io to self-hosting it on GitHub pages (since the reports on codecov.io have very weird lines whereas grcov's HTML report is much better edit: this was a mistake in the CI, which was mixing up non-coverage builds). On PRs, the HTML reports should now be accessible as artefacts, on pushes to the main branch, the coverage data is re-deployed.

* [ ] I've included my change in CHANGELOG.md

@juntyr juntyr marked this pull request as draft August 22, 2023 22:11
@codecov-commenter

codecov-commenter commented Aug 22, 2023

Copy link
Copy Markdown

Codecov Report

Patch and project coverage have no change.

Comparison is base (3f877c2) 82.95% compared to head (bc391ca) 82.95%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #483   +/-   ##
=======================================
  Coverage   82.95%   82.95%           
=======================================
  Files          74       74           
  Lines        9267     9268    +1     
=======================================
+ Hits         7687     7688    +1     
  Misses       1580     1580           

see 1 file with indirect coverage changes

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

@juntyr

juntyr commented Aug 22, 2023

Copy link
Copy Markdown
Member Author

It seems this may be a codecov problem, see rust-lang/rust#102477

@juntyr juntyr marked this pull request as ready for review August 23, 2023 19:14
@juntyr juntyr merged commit cead3cf into ron-rs:master Aug 23, 2023
@juntyr juntyr deleted the better-codecov branch August 23, 2023 19:22
@juntyr juntyr changed the title Try slightly modified codecov CI Improve code coverage CI with grcov HTML reports Aug 23, 2023
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.

2 participants