From 47f160f7ba5a9c92271e8f0c7fe21bca7173a31d Mon Sep 17 00:00:00 2001 From: Chase <62891993+engechas@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:01:54 -0700 Subject: [PATCH] Add Codecov workflow (#979) * Add Codecov Signed-off-by: Chase Engelbrecht * Fix spotless violations Signed-off-by: Chase Engelbrecht * Use codecov ref from core Signed-off-by: Chase Engelbrecht * Try using opensearch build example Signed-off-by: Chase Engelbrecht * Change coverage file Signed-off-by: Chase Engelbrecht * Don't manually specify coverage file Signed-off-by: Chase Engelbrecht * coverage report is already getting uploaded, removing new one Signed-off-by: Chase Engelbrecht --------- Signed-off-by: Chase Engelbrecht --- .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 000000000..00f1a2677 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,12 @@ +codecov: + require_ci_to_pass: yes + +coverage: + precision: 2 + round: down + range: "75...100" + status: + project: + default: + target: 75% # the required coverage value + threshold: 1% # the leniency in hitting the target