Skip to content
Snippets Groups Projects
Commit ebbec0da authored by juga's avatar juga
Browse files

Use coverage instead of pytest-cov,

and tell coverage to don't include __init__.py
parent 058fc9b3
No related branches found
No related tags found
No related merge requests found
[run]
omit = tests/*
*__init__*
omit = */__init__.py
......@@ -31,7 +31,8 @@ commands=
# passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = .[test]
commands =
py.test -svx --cov --cov-report=
coverage run --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -svx {toxinidir}/tests
[testenv:doc]
deps = .[doc]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment