From 3e8cad4bd0d347f211f2cec74b61f87b55f2fb80 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 19 May 2022 11:48:35 -0500 Subject: [PATCH] [CI] [Test] Enforces equal or increasing code coverage in PRs (#1559) (#1591) * 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