From 42ee012c3e8fef8da84a62284ad603e5c951e5c7 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 19 Jul 2022 08:54:12 -0700 Subject: [PATCH] PR coverage requirement and default settings (#3931) (#3938) Signed-off-by: Suraj Singh (cherry picked from commit 10208524f56e3ca8c97b871509b4bb1e0431f442) Co-authored-by: Suraj Singh --- codecov.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000000000..7c38e4e63325b --- /dev/null +++ b/codecov.yml @@ -0,0 +1,12 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: "70...100" + status: + project: + default: + target: 70% # the required coverage value + threshold: 1% # the leniency in hitting the target