From e5fd5b595a6b1b377df21e827f334d75c57ce474 Mon Sep 17 00:00:00 2001 From: Stefan Kolb Date: Wed, 26 Feb 2020 22:03:46 +0100 Subject: [PATCH 1/3] Raise codecov threshold Often PRs are red because of minimal threshold changes below 1 percent --- codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codecov.yml b/codecov.yml index 29aaa66eedc..0c297c776f9 100644 --- a/codecov.yml +++ b/codecov.yml @@ -3,4 +3,7 @@ coverage: - src/gen/.* status: patch: false + project: + default: + threshold: 1% comment: off From bca5a85e75d2620628a30a0d172b186ccec31846 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 27 Feb 2020 18:06:30 +0100 Subject: [PATCH 2/3] Try 0.05% expressed as float --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 0c297c776f9..5ca05a62910 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,5 +5,5 @@ coverage: patch: false project: default: - threshold: 1% + threshold: 0.05 comment: off From 80ee204e42728a0ca79cf56470f461afa386c97f Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 27 Feb 2020 18:09:10 +0100 Subject: [PATCH 3/3] 0.5% is the threshold --- codecov.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codecov.yml b/codecov.yml index 5ca05a62910..78fd542fe8a 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,5 +5,5 @@ coverage: patch: false project: default: - threshold: 0.05 + threshold: 0.005 comment: off