test: allow coverage threshold to be enforced #25675
test: allow coverage threshold to be enforced #25675bcoe wants to merge 1 commit intonodejs:masterfrom
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/ |
mhdawson
left a comment
There was a problem hiding this comment.
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_THRESHOLDis 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