Skip to content

Commit b8e50f2

Browse files
committed
Support tox4
Depends-On: https://review.opendev.org/866943 Change-Id: Idd5a2fdca17ae71382df68a09dfe1fc468941e14 (cherry picked from commit a8a6a37)
1 parent f774716 commit b8e50f2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tox]
22
minversion = 3.18
33
envlist = py37,pep8
4-
skipsdist = True
54
ignore_basepython_conflict = True
65

76
[testenv]
87
basepython = python3
98
usedevelop = True
10-
whitelist_externals = bash
9+
allowlist_externals = bash
1110
find
1211
rm
1312
setenv =
@@ -18,7 +17,7 @@ setenv =
1817
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
1918
-r{toxinidir}/requirements.txt
2019
-r{toxinidir}/test-requirements.txt
21-
passenv = TEMPEST_* OS_TEST_*
20+
passenv = TEMPEST_*,OS_TEST_*
2221
commands =
2322
find . -type f -name "*.py[c|o]" -delete
2423
rm -f .testrepository/times.dbm
@@ -104,6 +103,7 @@ commands = bandit -r magnum -x tests -n5 -ll
104103
setenv =
105104
{[testenv]setenv}
106105
PYTHON=coverage run --source magnum --parallel-mode
106+
allowlist_externals = {toxinidir}/tools/cover.sh
107107
commands = {toxinidir}/tools/cover.sh {posargs}
108108

109109
[testenv:docs]
@@ -116,6 +116,8 @@ commands =
116116

117117
[testenv:pdf-docs]
118118
deps = {[testenv:docs]deps}
119+
allowlist_externals = make
120+
rm
119121
commands =
120122
rm -rf doc/build/pdf
121123
sphinx-build -W --keep-going -b latex -j auto doc/source doc/build/pdf

0 commit comments

Comments
 (0)