CI: Fixes for tox4
Change-Id: Idd3fc7040ab9a9544442a14fc84df2fd054ebed7
This commit is contained in:
parent
6ed9497897
commit
7347a11135
10
tox.ini
10
tox.ini
@ -1,6 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 3.18
|
minversion = 3.18
|
||||||
skipsdist = True
|
|
||||||
envlist = py39,linters
|
envlist = py39,linters
|
||||||
ignore_basepython_conflict = True
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
@ -12,9 +11,9 @@ allowlist_externals = find
|
|||||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY
|
||||||
OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_TEST_TIMEOUT
|
OS_STDOUT_CAPTURE,OS_STDERR_CAPTURE,OS_LOG_CAPTURE,OS_TEST_TIMEOUT
|
||||||
PYTHON OS_TEST_PATH LISTOPT IDOPTION
|
PYTHON,OS_TEST_PATH,LISTOPT,IDOPTION
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete
|
find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete
|
||||||
find . -type d -name "__pycache__" -delete
|
find . -type d -name "__pycache__" -delete
|
||||||
@ -61,6 +60,7 @@ commands =
|
|||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
allowlist_externals = make
|
allowlist_externals = make
|
||||||
|
rm
|
||||||
skip_install = {[testenv:docs]skip_install}
|
skip_install = {[testenv:docs]skip_install}
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
@ -123,7 +123,7 @@ commands = yamllint -s .
|
|||||||
|
|
||||||
[testenv:ansible-sanity]
|
[testenv:ansible-sanity]
|
||||||
deps = {[testenv:linters]deps}
|
deps = {[testenv:linters]deps}
|
||||||
commands = {toxinidir}/tools/run-ansible-sanity.sh {toxinidir}
|
commands = bash {toxinidir}/tools/run-ansible-sanity.sh {toxinidir}
|
||||||
|
|
||||||
[testenv:ansible-lint]
|
[testenv:ansible-lint]
|
||||||
deps = {[testenv:linters]deps}
|
deps = {[testenv:linters]deps}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user