From fe3f2ad0f9eb5b03a8cb04b0534b4364e1d4eb11 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 12 Jan 2019 16:57:44 +0100 Subject: CI/codecov: Avoid "fail" status for non-PR Purpose of codecov is to: 1. show a web UI of lines that need coverage 2. sanity-check PRs 3. show a pretty badge on README codecov (and/or gcov) is not reliable enough to allow it to cause a "red" status in the `master` branch CI history. --- codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codecov.yml b/codecov.yml index 8ff7ac19f9..8ce9a2bb38 100644 --- a/codecov.yml +++ b/codecov.yml @@ -13,9 +13,12 @@ coverage: status: project: yes + default: + threshold: 1 patch: default: threshold: 1 + only_pulls: true changes: no parsers: -- cgit