Builds should fail below a particular coverage level...

Description

Now that we have overall coverage reporting, we can choose to add a "coverage check" to our "postinstall" steps which will cause "npm test" to fail with an error if the code coverage levels fall below an agreed upon level.

Environment

None

Activity

Show:

Justin Obara December 16, 2020 at 1:51 PM
Edited

With we added codecov configuration to display code coverage in PR checks and merges to main. These will fail the check status in GitHub if the code coverage drops. This is only handled on GitHub though, and not when run locally.

Details

Assignee

Reporter

Components

Priority

Created January 17, 2018 at 5:12 PM
Updated July 22, 2024 at 1:00 PM