[tests] coverage: include files that are not covered at all

This commit is contained in:
tobi-wan-kenobi 2020-05-24 13:05:03 +02:00
parent 3d14931cb7
commit 3c73c4d343
3 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
[run] [run]
omit = omit =
versioneer.*
bumblebee_status/_version.*
setup.*
tests/* tests/*
*mock* *mock*
*funcsigs* *funcsigs*

View file

@ -11,7 +11,7 @@ install:
- pip install -U coverage==4.3 - pip install -U coverage==4.3
- pip install codeclimate-test-reporter - pip install codeclimate-test-reporter
script: script:
- coverage run -m unittest discover -v - coverage run --source=. -m unittest discover -v
- CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter - CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter
addons: addons:
code_climate: code_climate:

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
coverage run -m unittest discover -v -b coverage run --source=. -m unittest discover -v -b
coverage report -m coverage report -m