Switch to stestr
According to Openstack summit session [1], stestr is maintained project to which all Openstack projects should migrate. Let's switch to stestr as other projects have already moved to it. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: Ifbcb65237598b99224768a47c18b30473c2eaa3e
This commit is contained in:
11
tox.ini
11
tox.ini
@@ -14,11 +14,15 @@ setenv =
|
||||
PYTHONUNBUFFERED=1
|
||||
LOGDIR={envdir}/log
|
||||
TMPDIR={envdir}/tmp
|
||||
PYTHON=coverage run --source openstack_releases --parallel-mode
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
coverage report --show-missing
|
||||
stestr run '{posargs}'
|
||||
coverage combine
|
||||
coverage html -d cover
|
||||
coverage xml -o cover/coverage.xml
|
||||
coverage report --show-missing
|
||||
|
||||
[testenv:validate]
|
||||
deps =
|
||||
@@ -56,9 +60,6 @@ commands = {posargs}
|
||||
[testenv:history]
|
||||
commands = {toxinidir}/tools/build_tag_history.sh {toxinidir}
|
||||
|
||||
[testenv:cover]
|
||||
#commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
|
||||
|
||||
Reference in New Issue
Block a user