Merge "Bump tox minversion to 3.18.0"

This commit is contained in:
Zuul 2022-08-16 20:25:55 +00:00 committed by Gerrit Code Review
commit 8cf77e2154

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
minversion = 2.5.0
minversion = 3.18.0
envlist = py3,pep8,eslint,karma
skipsdist = True
@ -13,7 +13,7 @@ setenv =
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = npm
allowlist_externals = npm
bash
commands =
python manage.py test octavia_dashboard --settings=octavia_dashboard.tests.settings
@ -32,7 +32,7 @@ commands = npm install
npm test
[testenv:docs]
whitelist_externals = rm
allowlist_externals = rm
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
@ -43,7 +43,7 @@ commands =
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
whitelist_externals =
allowlist_externals =
make
rm
commands =
@ -52,7 +52,7 @@ commands =
make -C doc/build/pdf
[testenv:releasenotes]
whitelist_externals = rm
allowlist_externals = rm
deps = {[testenv:docs]deps}
commands =
rm -rf releasenotes/build