-
Notifications
You must be signed in to change notification settings - Fork 277
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
Add option for decision and function threshold #773
Add option for decision and function threshold #773
Conversation
61bee02
to
7cec726
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #773 +/- ##
==========================================
- Coverage 95.62% 95.61% -0.02%
==========================================
Files 41 41
Lines 4047 4079 +32
Branches 793 805 +12
==========================================
+ Hits 3870 3900 +30
Misses 100 100
- Partials 77 79 +2
☔ View full report in Codecov by Sentry. |
74c4cc4
to
8e18ac8
Compare
8e18ac8
to
e1a5841
Compare
93c4001
to
38059e8
Compare
Thank you for doing this @Spacetown! Any idea when the next gcovr release is planned? |
Nothing planned yet. I think before end of this year should be possible. |
Sounds good, let me know if there's anything we can do to help! |
@Codym48 Review open PRs. I don't like to merge without review. |
Add
--fail-under-decision
and--fail-under-function
which will error under a given minimum coverage.The exit code for an error of the reader module is changed from 8 to 64 and for a writer from 7 to 128 to have the coverage thresholds together.
The documentation also stated that the threshold exit statuses can be ORed. This wasn't true anymore since the writer error (7) sets also the bits for the minimum line (2) and branch coverage (4). Now this behavior is fixed.
Closes #759