Make tox.ini tox 4.0.0 compatible
* removed skipsdist=True to make sure cloudkitty is available in the virtual env * added find to allowed external commands in tox * replaced full path to find for readability Change-Id: I4211e9be3e170f8724246883768247727b1d5d0b Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
This commit is contained in:
parent
3a90e20130
commit
33d7174278
7
tox.ini
7
tox.ini
@ -1,12 +1,13 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.18.0
|
minversion = 3.18.0
|
||||||
skipsdist = True
|
|
||||||
envlist = py3,pep8
|
envlist = py3,pep8
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
allowlist_externals = rm
|
allowlist_externals =
|
||||||
|
find
|
||||||
|
rm
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
PYTHONWARNINGS=default::DeprecationWarning
|
PYTHONWARNINGS=default::DeprecationWarning
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
@ -16,7 +17,7 @@ deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up
|
|||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
/usr/bin/find . -type f -name "*.py[co]" -delete
|
find . -type f -name "*.py[co]" -delete
|
||||||
rm -f .testrepository/times.dbm
|
rm -f .testrepository/times.dbm
|
||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user