Skip to content

Commit bf0616a

Browse files
authored
[MRG] Configure coverage creation and checks (scikit-optimize#757)
* Update .codecov.yml * Create .coveragerc
1 parent e523698 commit bf0616a

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.codecov.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# show coverage in CI status, not as a comment.
2+
comment: off
13
coverage:
2-
ignore:
3-
- "skopt/tests/*"
4+
status:
5+
project:
6+
default:
7+
target: auto
8+
patch:
9+
default:
10+
target: 20%

.coveragerc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[run]
2+
omit =
3+
# this file comes from versioneer and we don’t test it
4+
*/_version.py
5+
# these are our tests, don't count them towards coverage
6+
skopt/tests/*

0 commit comments

Comments
 (0)