Skip to content

Commit

Permalink
Try to make codecov a bit less obnoxious:
Browse files Browse the repository at this point in the history
- Count >60% project coverage as green.
- Take the strictness down a notch, allow a 1% drop without whining
- Notify after 7 builds, rather than immediately (it seems like coverage notifications are a bit racy, and sometimes don't take into consideration all the builds?)
  • Loading branch information
bobthecow committed Mar 28, 2020
1 parent 601ccb5 commit 8201cad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Expand Up @@ -7,6 +7,7 @@
/.travis.yml export-ignore
/bin/build-stub export-ignore
/box.json.dist export-ignore
/codecov.yml export-ignore
/Makefile export-ignore
/phpunit.xml.dist export-ignore
/scoper.inc.php export-ignore
Expand Down
10 changes: 10 additions & 0 deletions codecov.yml
@@ -0,0 +1,10 @@
codecov:
notify:
after_n_builds: 7

coverage:
range: "60..100"
status:
project:
default:
threshold: 1%

0 comments on commit 8201cad

Please sign in to comment.