Uh oh!
There was an error while loading. Please reload this page.
test: allow coverage threshold to be enforced - #25675
Conversation
refack
commented
Jan 24, 2019
Thinking about the next step of enabling this by default in CI... |
bcoe
commented
Jan 24, 2019
mhdawson
commented
Jan 24, 2019
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. |
mhdawson
commented
Jan 30, 2019
#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. |
mhdawson
commented
Jan 30, 2019
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
79ffeecCompareIf COV_ENFORCE_THRESHOLD is set, tests run in coverage mode will exit with an error, if line coverage is below the percentage threshold.
bcoe
commented
Jan 31, 2019
@mhdawson rebased 👍 |
mhdawson
commented
Jan 31, 2019
run of coverage sanity job we are working on with this update: https://ci.nodejs.org/view/all/job/node-test-commit-coverage/24/ |
mhdawson
commented
Jan 31, 2019
New CI with naming fixed: https://ci.nodejs.org/view/all/job/node-test-commit-coverage/26/ |
bcoe
commented
Feb 1, 2019
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