Skip to content

Commit

Permalink
[CI] [Test] Enforces equal or increasing code coverage in PRs (opense…
Browse files Browse the repository at this point in the history
…arch-project#1559)

* Utilizes Codecov yaml configuration: https://docs.codecov.com/docs/codecov-yaml
* The purpose of enforcing increasing code coverage over time is to attempt to improve the quality of 
  changes via testing, reduce the need to request tests in PRs, and stay away from enforcing an 
  ambiguous coverage percentage.

Signed-off-by: Tommy Markley <[email protected]>
  • Loading branch information
Tommy Markley authored and kavilla committed Jun 8, 2022
1 parent c59d838 commit 2ca3bb1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/.codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://docs.codecov.com/docs/codecov-yaml
coverage:
status:
project:
default:
# https://docs.codecov.com/docs/commit-status#target
target: auto # coverage must be equal or above the previous commit

0 comments on commit 2ca3bb1

Please sign in to comment.