From 226fa1107780acc6a500e3082aefcdf7e92a3051 Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Sat, 13 Jul 2024 17:25:41 +0530 Subject: [PATCH] ci: configuration for codecov to avoid incorrect flag of failures --- codecov.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..00c062964 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,33 @@ +codecov: + require_ci_to_pass: true + +comment: + behavior: default + layout: reach,diff,flags,tree,reach + show_carryforward_flags: false + +coverage: + precision: 2 + round: down + status: + changes: false + default_rules: + flag_coverage_not_uploaded_behavior: include + + patch: + default: + base: auto + branches: + - ^develop$ + if_ci_failed: ignore + only_pulls: true + target: 85% + threshold: 1% + + project: + default: + base: auto + threshold: 20% + +github_checks: + annotations: true