From f3cacf8d406f148951593489de0e627117111dc6 Mon Sep 17 00:00:00 2001 From: John Marshall Date: Fri, 19 Jul 2024 16:54:03 +1200 Subject: [PATCH] Allow the check to succeed even if a coverage threshold is missed Sometimes (intermittently?) codecov has no data for either the base or head commit of a PR and can produce no coverage statistics. We don't want the GitHub checks to fail for spurious operational reasons like this, so mark these coverage checks as informational only. --- codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codecov.yml b/codecov.yml index 5c34a4dc1..957eb68fe 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,7 +5,11 @@ coverage: # basic target: auto threshold: 0% + informational: true paths: - "db" - "scripts" - "metamist/parser" + patch: + default: + informational: true