From fa6571b86a79aefcf3b7661951828fb0c6ad65e1 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 --- .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