From 76d2463e4d659af90c7c403156811fab5c22943c Mon Sep 17 00:00:00 2001 From: Brian Cloutier Date: Thu, 8 Dec 2016 17:03:48 +0300 Subject: [PATCH] Only fail if code coverage drops by over 0.5% Currently codecov, annoyingly, fails the PR whenever coverage decreases. This commit changes the threshold, and will only fail PRs if: - coverage falls below 80% - coverage drops by more than 0.5% --- .codecov.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index 0b85876fe..b67f16a12 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -13,8 +13,11 @@ coverage: round: down status: changes: false - patch: true - project: true + patch: false + project: + target: 80 + threshold: 0.5 + base: pr parsers: gcov: branch_detection: