diff options
author | Hervé Beraud <hberaud@redhat.com> | 2020-01-15 09:58:31 +0100 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2020-01-15 09:58:31 +0100 |
commit | ee55593f66e1d901c2d1d3c3d22a10136e5746a4 (patch) | |
tree | 424fca1a81ef2fc726a8d5823f97d8c98263238b | |
parent | 00d376edfb6cf759e556107a1ef2d1302b1ea83c (diff) | |
download | oslo-policy-ee55593f66e1d901c2d1d3c3d22a10136e5746a4.tar.gz |
Move away from python setup.py test who is deprecated in pbr
https://docs.openstack.org/pbr/latest/user/features.html#test
Change-Id: Ie5f7cf0d8eefed2ee756114ef5a145fe151b11b2
-rw-r--r-- | tox.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -34,7 +34,13 @@ commands = sphinx-build -W --keep-going -b html doc/source doc/build/html [testenv:cover] -commands = python setup.py test --coverage --coverage-package-name=oslo_policy --testr-args='{posargs}' +setenv = + PYTHON=coverage run --source oslo_policy --parallel-mode +commands = + stestr run --slowest {posargs} + coverage combine + coverage html -d cover + coverage report [flake8] show-source = True |