From 38c343083f520440169d1fe63e9603d4f1cc1c9d Mon Sep 17 00:00:00 2001
From: Olivier Grisel <olivier.grisel@ensta.org>
Date: Wed, 28 Jun 2017 10:27:57 +0200
Subject: [PATCH] [MRG + 1] MAINT tweak codecov settings (#9001)

---
 .codecov.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.codecov.yml b/.codecov.yml
index db2472009c..78a6c76891 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -1 +1,22 @@
 comment: off
+
+coverage:
+  status:
+    project:
+      default:
+        # Commits pushed to master should not make the overall
+        # project coverage decrease by more than 1%:
+        target: auto
+        threshold: 1%
+    patch:
+      default:
+        # Be tolerant on slight code coverage diff on PRs to limit
+        # noisy red coverage status on github PRs.
+        # Note The coverage stats are still uploaded
+        # to codecov so that PR reviewers can see uncovered lines
+        # in the github diff if they install the codecov browser
+        # extension:
+        # https://github.com/codecov/browser-extension
+        target: auto
+        threshold: 1%
+ 
-- 
GitLab