Add code coverage to tox
This commit is contained in:
5
tox.ini
5
tox.ini
@@ -4,10 +4,11 @@ envlist = py27,py34
|
|||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
|
pytest-cov
|
||||||
flake8
|
flake8
|
||||||
isort
|
isort
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
flake8 dcos tests
|
flake8 dcos tests
|
||||||
isort -rc -c -vb dcos tests
|
isort -rc -c -vb {envsitepackagesdir}/dcos
|
||||||
py.test tests
|
py.test --cov {envsitepackagesdir}/dcos tests
|
||||||
|
|||||||
Reference in New Issue
Block a user