diff --git a/.codecov.yml b/.codecov.yml index e01231505..62be777bf 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -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% diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..d8299702a --- /dev/null +++ b/.coveragerc @@ -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/*