From bee921e0a11e6f778abaf25d6557c98865bd5d67 Mon Sep 17 00:00:00 2001 From: Manfred Touron <94029+moul@users.noreply.github.com> Date: Thu, 14 Sep 2023 17:55:45 +0200 Subject: [PATCH] chore: update codecov.yml (#1120) See https://github.com/gnolang/gno/pull/1078#pullrequestreview-1625492448 Frankly, I'm always cautious when working with configuration files that can only be fully validated after merging and opening a new PR. I've consulted the documentation and also referenced popular codecov files from other repositories for guidance. Reference: https://docs.codecov.com/docs/codecovyml-reference --- .github/codecov.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index 0feaea151ea..77cc0991cb0 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -1,17 +1,29 @@ codecov: - require_ci_to_pass: no + require_ci_to_pass: false + require_changes: true notify: - wait_for_ci: no + wait_for_ci: false ignore: - misc -comment: false # will use it later. +comment: + require_changes: true coverage: + #range: 50..100 + round: down + precision: 2 status: - project: off - patch: off + project: + default: + target: auto + threshold: 0.5% + #informational: true + patch: + default: + target: auto + changes: flags: default_rules: