FLUID-6238: Builds should fail below a particular coverage level...

Metadata

Source
FLUID-6238
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
Colin Clark
Reporter
Tony Atkins [RtF]
Created
2018-01-17T12:12:13.247-0500
Updated
2024-07-22T09:00:15.398-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Build Scripts
  2. Testing Infrastructure

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.

Comments

  • Justin Obara commented 2020-12-16T08:51:28.791-0500

    With FLUID-6529 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.