Skip to content

Commit

Permalink
Merge pull request #210 from jparise/coverage-omit-tests
Browse files Browse the repository at this point in the history
Omit test/* code from the coverage report
  • Loading branch information
jparise authored Jan 8, 2019
2 parents 65560b7 + 96444fb commit e0ebfbe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ tag = True
[bdist_wheel]
universal = true

[coverage:run]
omit = pymemcache/test/*

[tool:pytest]
norecursedirs = build docs/_build *.egg .tox *.venv
addopts =
--verbose
--tb=short
--capture=no
-rfEsxX
--cov=pymemcache --cov-report=xml --cov-report=term-missing
--cov=pymemcache --cov-config=setup.cfg --cov-report=xml --cov-report=term-missing
-m unit
markers =
unit
Expand Down

0 comments on commit e0ebfbe

Please sign in to comment.