Make sure external commands are allowed
... otherwise tox refuses executing these commands. Also, bumps the min version so that the version which supports allowlist_externals is used. Change-Id: I3d8fc840a31b4226bf4ef2b60ec618735a2da642
This commit is contained in:
parent
275a56fc2a
commit
1ebae5b285
10
tox.ini
10
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
minversion = 2.0
|
||||
minversion = 3.18
|
||||
skipsdist = True
|
||||
envlist = pep8,py
|
||||
|
||||
|
@ -12,12 +12,16 @@ deps =
|
|||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
allowlist_externals =
|
||||
stestr
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
commands = ./run-flake8
|
||||
commands = bash run-flake8
|
||||
allowlist_externals =
|
||||
bash
|
||||
|
||||
[flake8]
|
||||
ignore = E125,H803
|
||||
|
@ -28,3 +32,5 @@ show-source = true
|
|||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands = bash -c tools/releasenotes_tox.sh
|
||||
allowlist_externals =
|
||||
bash
|
||||
|
|
Loading…
Reference in New Issue