Merge "Switch coverage tox env to stestr"
This commit is contained in:
commit
53a3f44f16
@ -13,10 +13,9 @@ oslotest>=3.2.0 # Apache-2.0
|
||||
reno>=2.5.0 # Apache-2.0
|
||||
requests-mock>=1.2.0 # Apache-2.0
|
||||
stevedore>=1.20.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
stestr # Apache-2.0
|
||||
testresources>=2.0.0 # Apache-2.0/BSD
|
||||
testtools>=2.2.0 # MIT
|
||||
os-testr>=1.0.0 # Apache-2.0
|
||||
python-memcached>=1.56 # PSF
|
||||
WebTest>=2.0.27 # MIT
|
||||
|
||||
|
9
tox.ini
9
tox.ini
@ -33,7 +33,14 @@ commands = bandit -r keystonemiddleware -x tests -n5
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
PYTHON=coverage run --source keystonemiddleware --parallel-mode
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:debug]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user