From a8ee2f722c88aad8426e2ad9d9a9174eb05b3289 Mon Sep 17 00:00:00 2001 From: Roy Moore Date: Fri, 5 Jun 2026 12:38:41 +0300 Subject: [PATCH] chore(ci): add codecov config to reduce noise --- codecov.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 codecov.yml diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..c1600550 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,26 @@ +# https://docs.codecov.com/docs/codecov-yaml +coverage: + status: + project: + default: + target: auto + # Allow small coverage fluctuations without failing the check. + threshold: 1% + # Don't fail codecov if the CI run itself failed (avoids double-noise). + if_ci_failed: success + patch: + default: + # Report patch coverage, but never block the PR on it. + informational: true + +# Recompute the base when code is removed so refactors don't appear to +# regress overall coverage. +codecov: + notify: + after_n_builds: 1 + require_ci_to_pass: true + +comment: + layout: "reach,diff,flags,files" + behavior: default + require_changes: true # only post a PR comment when coverage actually changed