From b65a1b1a01e7de3e66af822ad6a34f9d13207f90 Mon Sep 17 00:00:00 2001 From: Tommy Markley Date: Tue, 17 May 2022 13:37:44 -0500 Subject: [PATCH] [CI] [Test] Enforces equal or increasing code coverage in PRs (#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 (cherry picked from commit 21d7b6fd8a3db1c20d9ea9a536e6a52ff500ae47) --- .github/.codecov.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/.codecov.yml diff --git a/.github/.codecov.yml b/.github/.codecov.yml new file mode 100644 index 000000000000..1ce321b650d3 --- /dev/null +++ b/.github/.codecov.yml @@ -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