Skip to content

Commit

Permalink
[MRG] Configure coverage creation and checks (scikit-optimize#757)
Browse files Browse the repository at this point in the history
* Update .codecov.yml

* Create .coveragerc
  • Loading branch information
betatim authored Apr 26, 2019
1 parent e523698 commit bf0616a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# show coverage in CI status, not as a comment.
comment: off
coverage:
ignore:
- "skopt/tests/*"
status:
project:
default:
target: auto
patch:
default:
target: 20%
6 changes: 6 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[run]
omit =
# this file comes from versioneer and we don’t test it
*/_version.py
# these are our tests, don't count them towards coverage
skopt/tests/*

0 comments on commit bf0616a

Please sign in to comment.