From 086187bcdeefd9a85f23729114b05c232d3bc2c0 Mon Sep 17 00:00:00 2001 From: Jason Petersen Date: Fri, 9 Dec 2016 12:00:07 -0700 Subject: [PATCH] Be explicit about coverage project requirements If a change drops coverage (absolutely) beneath 80% or (relatively) reduces coverage by more than 0.5%, give it a bad status. --- .codecov.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.codecov.yml b/.codecov.yml index 2b5037ed5..3d6493c62 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -8,7 +8,10 @@ coverage: range: "70...100" status: - project: yes + project: + default: + target: 80 + threshold: 0.5 patch: yes changes: no