Skip to content

Commit

Permalink
ENH: Include tests as part of the coverage.
Browse files Browse the repository at this point in the history
This way we can check that their aggregate coverage through codecov is
100% and ensure that all tests are being executed.
  • Loading branch information
dopplershift committed Dec 7, 2016
1 parent 4444812 commit 38d9eb0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[run]
omit = metpy/_version.py,metpy/io/_nexrad_msgs/parse_spec.py,*/tests/*
omit = metpy/_version.py,metpy/io/_nexrad_msgs/parse_spec.py
11 changes: 10 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ coverage:
if_not_found: success
if_ci_failed: failure
project:
default:
default: false
library:
target: auto
if_no_uploads: error
if_not_found: success
if_ci_failed: failure
paths:
- "!/metpy/calc/tests/"
- "!/metpy/gridding/tests/"
- "!/metpy/io/tests/"
- "!/metpy/plots/tests/"
tests:
target: 100%
paths: "/metpy/*/tests/"

comment: off

0 comments on commit 38d9eb0

Please sign in to comment.