Skip to content

Commit e5bb647

Browse files
authored
Tweak codecov.io configuration (pydata#3067)
- 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.
1 parent 0aeee7f commit e5bb647

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.codecov.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
# Require 1% coverage, i.e., always succeed
6+
target: 1
7+
patch: false
8+
changes: false
9+
10+
comment:
11+
layout: "header, diff"
12+
behavior: default
13+
require_changes: no

ci/.coveragerc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[report]
22
omit =
33
xarray/tests/*
4+
xarray/_version.py

0 commit comments

Comments
 (0)