From 3c73c4d343f929270a0acff91add1e11bcc689d9 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Sun, 24 May 2020 13:05:03 +0200 Subject: [PATCH] [tests] coverage: include files that are not covered at all --- .coveragerc | 3 +++ .travis.yml | 2 +- coverage.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.coveragerc b/.coveragerc index e809714..ec0aef3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,8 @@ [run] omit = + versioneer.* + bumblebee_status/_version.* + setup.* tests/* *mock* *funcsigs* diff --git a/.travis.yml b/.travis.yml index a66688d..63b6eb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - pip install -U coverage==4.3 - pip install codeclimate-test-reporter script: - - coverage run -m unittest discover -v + - coverage run --source=. -m unittest discover -v - CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter addons: code_climate: diff --git a/coverage.sh b/coverage.sh index b91ec34..7910a98 100755 --- a/coverage.sh +++ b/coverage.sh @@ -1,4 +1,4 @@ #!/bin/bash -coverage run -m unittest discover -v -b +coverage run --source=. -m unittest discover -v -b coverage report -m