diff options
author | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2018-07-10 14:25:26 +0700 |
---|---|---|
committer | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2018-07-24 10:38:07 +0700 |
commit | 833ba0f5b87343b196f1287d607a9de159834a41 (patch) | |
tree | a3b55ccfafd24a3359ebef1cc4d26aeae30a77fb /tox.ini | |
parent | 7df2d5978005c1a4af33067e77ecd945b38ab13a (diff) | |
download | pycadf-833ba0f5b87343b196f1287d607a9de159834a41.tar.gz |
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: Ib4c7bb59c92946c3e8b257cbf1ce2f44cb1c40ed
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -8,7 +8,7 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt -commands = python setup.py testr --slowest --testr-args='{posargs}' +commands = stestr run --slowest {posargs} [testenv:pep8] basepython = python3 @@ -20,7 +20,13 @@ commands = python setup.py build_sphinx [testenv:cover] basepython = python3 -commands = python setup.py testr --coverage +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:venv] basepython = python3 |