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] [run]
omit = tests/* omit = */__init__.py
*__init__*
...@@ -31,7 +31,8 @@ commands= ...@@ -31,7 +31,8 @@ commands=
# passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH # passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = .[test] deps = .[test]
commands = commands =
py.test -svx --cov --cov-report= coverage run --rcfile={toxinidir}/.coveragerc --source=sbws -m pytest -svx {toxinidir}/tests
[testenv:doc] [testenv:doc]
deps = .[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