From 2a05bdc43a9e38281e434a1759c6ae3321ca62d3 Mon Sep 17 00:00:00 2001 From: John Purcell Date: Sun, 8 Jul 2018 14:32:30 -0700 Subject: [PATCH] fixing coverage --- .coveragerc | 10 ++++++++++ setup.py | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..b70230f --- /dev/null +++ b/.coveragerc @@ -0,0 +1,10 @@ +[report] + omit = + vincent/_version.py + vincent/__init__.py + vincent_crons/__init__.py + +[paths] + source = + vincent/ + vincent_crons/ \ No newline at end of file diff --git a/setup.py b/setup.py index d76acf4..f71db11 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,8 @@ def initialize_options(self): self.pytest_args = [ 'tests', '-rx', - '--cov=' + __library_name__, + '--cov=' + __package_name__, + '--cov=' + __package_name__ + '_crons', '--cov-report=term-missing', '--cov-config=.coveragerc', ] @@ -66,7 +67,8 @@ def initialize_options(self): 'tests', '-rx', '--junitxml=junit.xml', - '--cov=' + __library_name__, + '--cov=' + __package_name__, + '--cov=' + __package_name__ + '_crons', '--cov-report=term-missing', '--cov-config=.coveragerc', ]