]> granicus.if.org Git - python/commitdiff
Make code coverage less strict (GH-1438)
authorBrett Cannon <brettcannon@users.noreply.github.com>
Thu, 4 May 2017 21:58:54 +0000 (14:58 -0700)
committerGitHub <noreply@github.com>
Thu, 4 May 2017 21:58:54 +0000 (14:58 -0700)
Set the target to be 90% since there is enough OS-specific code and things that require manual testing that we will never hit 100%. Also turn off the status checks since they are so inconsistent in terms of flagging a PR as passing/failing that they aren't useful and can actually block merging from a phone.

.codecov.yml

index fcf9df6a7a698e4bd87ed0c1cc4ed70bad8b9887..2106da61725973b81a63a817ec6f245706af4353 100644 (file)
@@ -12,18 +12,12 @@ ignore:
   - "Grammar/*"
 coverage:
   precision: 2
-  range:
-  - 70.0
-  - 100.0
+  range: 70...90
   round: down
   status:
     changes: off
     project: off
-    patch:
-      default:
-        target: 100%
-        only_pulls: true
-        threshold: 0.05
+    patch: off
 parsers:
   gcov:
     branch_detection: