-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
test: allow coverage threshold to be enforced #25675
Conversation
Thinking about the next step of enabling this by default in CI... |
Will test this out on the build I'm trying out and the approve if looks good. Would like #25671 to land first as well. |
#25671 landed, if you can rebase I'll run it against the coverage sanity job just to double check and then we'd be good to land. |
I have found one other test that is failing under coverage on the docker ubuntu 16 machines we'll use for this job and am testing a PR now, but it should not conflict with this one once rebased. |
c9408bf
to
79ffeec
Compare
If COV_ENFORCE_THRESHOLD is set, tests run in coverage mode will exit with an error, if line coverage is below the percentage threshold.
@mhdawson rebased 👍 |
run of coverage sanity job we are working on with this update: https://ci.nodejs.org/view/all/job/node-test-commit-coverage/24/ |
New CI with naming fixed: https://ci.nodejs.org/view/all/job/node-test-commit-coverage/26/ |
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.
LGTM as long as CI runs pass
Landed in a861add |
If COV_ENFORCE_THRESHOLD is set, tests run in coverage mode will exit with an error, if line coverage is below the percentage threshold. PR-URL: #25675 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
If COV_ENFORCE_THRESHOLD is set, tests run in coverage mode will exit with an error, if line coverage is below the percentage threshold. PR-URL: #25675 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
If
COV_ENFORCE_THRESHOLD
is set, tests run in coverage mode willexit with an error, if line coverage is below the percentage
threshold.
will rebase against #25671, once it's ready to land.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes