diff options
author | Zuul <zuul@review.openstack.org> | 2018-11-05 07:11:31 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-11-05 07:11:31 +0000 |
commit | 0ef20fbe009460a492dbd56acb535280973b8c20 (patch) | |
tree | 3177fbdf3db9328fee2efbbc37d42c3d263a6344 /tox.ini | |
parent | e4c70155c8eff3c4d13c0b8669b268a2bbe1443b (diff) | |
parent | 47d2319144dceab0669cb841502d4c9ef819bf1d (diff) | |
download | ceilometermiddleware-0ef20fbe009460a492dbd56acb535280973b8c20.tar.gz |
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = stestr run --slowest {posargs} [testenv:pep8] basepython = python3 @@ -24,7 +24,13 @@ commands = {posargs} [testenv:cover] basepython = python3 -commands = python setup.py testr --coverage --testr-args='{posargs}' +setenv = + PYTHON=coverage run --source $project --parallel-mode +commands = + stestr run '{posargs}' + coverage combine + coverage html -d cover + coverage xml -o cover/coverage.xml [testenv:docs] basepython = python3 |