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 <markleyt@amazon.com>
  • Loading branch information
Tommy Markley authored May 17, 2022
1 parent 1792662 commit 21d7b6f
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 21d7b6f

Please sign in to comment.