chore: Add codecov yml settings

Specify `informational: true` to prevent CI failure with a reduction in code coverage. We are not at a point yet to need this.
This commit is contained in:
Eric Mastro 2022-03-08 11:12:06 +11:00 committed by Eric Mastro
parent b65e0aa7ef
commit 422511b961
2 changed files with 13 additions and 1 deletions

View File

@ -1,4 +1,4 @@
name: Code Coverage
name: Generate and upload code coverage
on:
#On push to common branches, this computes the "bases stats" for PRs

12
codecov.yml Normal file
View File

@ -0,0 +1,12 @@
coverage:
status:
project:
default:
# advanced settings
# Prevents PR from being blocked with a reduction in coverage.
# Note, if we want to re-enable this, a `threshold` value can be used
# allow coverage to drop by x% while still posting a success status.
# `informational`: https://docs.codecov.com/docs/commit-status#informational
# `threshold`: https://docs.codecov.com/docs/commit-status#threshold
informational: true