-
Notifications
You must be signed in to change notification settings - Fork 49
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
Enforce coverage requirement and reporting via codecov #672
Conversation
Codecov Report
@@ Coverage Diff @@
## main #672 +/- ##
=======================================
Coverage ? 31.46%
=======================================
Files ? 302
Lines ? 35156
Branches ? 6141
=======================================
Hits ? 11061
Misses ? 23572
Partials ? 523 |
The codecov message works :) the issue it is pointing at is due to the fact that he does not know how much coverage we have in main yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion and one question below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
+1
Description
This upgrades our coverage reporting by uploading to codecov.io. Using the features of said service, this also starts to enforce a patch based coverage requirement (for now just hardcoded at 80%).
Resolved issues
Resolves: https://warthogs.atlassian.net/browse/CHECKBOX-799
Documentation
This adds a new section to the contributing guide that explains how to get a local coverage report, why we want a coverage constraint and how we enforce it. This section also points to where the coverage constraint is specified and how it is reported io PRs (the pointer is there because in the future we may want to change the requirement, we don't want to have to update this file with the new one!)
Tests
N/A