Skip to content

Commit

Permalink
Tweak codecov.io configuration (#3067)
Browse files Browse the repository at this point in the history
- Exclude `_version.py` from coverage, since it was generated from versioneer.
- Remove the "reach" graph from comments.
- Don't give PRs a failing status if they decrease coverage.
  • Loading branch information
shoyer authored Jul 1, 2019
1 parent 0aeee7f commit e5bb647
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
coverage:
status:
project:
default:
# Require 1% coverage, i.e., always succeed
target: 1
patch: false
changes: false

comment:
layout: "header, diff"
behavior: default
require_changes: no
1 change: 1 addition & 0 deletions ci/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[report]
omit =
xarray/tests/*
xarray/_version.py

0 comments on commit e5bb647

Please sign in to comment.