Fix outedated tox minversion

allowlist_externals is supported since 3.18.0 .

Change-Id: Iecd5175e5081b4f7ee66449a623064632133359d
This commit is contained in:
Takashi Kajinami 2024-10-24 23:17:27 +09:00
parent 8c2e94978b
commit 7f8deb75e6

View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist = pep8,eslint,karma-local,docs-local,releasenotes,lower-constraints-local envlist = pep8,eslint,karma-local,docs-local,releasenotes,lower-constraints-local
minversion = 2.3.2 minversion = 3.18.0
[testenv] [testenv]
usedevelop = True usedevelop = True
@ -53,7 +53,7 @@ commands =
{[testenv]commands} {[testenv]commands}
[testenv:eslint] [testenv:eslint]
Allowlist_externals = allowlist_externals =
npm npm
commands = commands =
npm install npm install
@ -63,14 +63,14 @@ commands =
# from master branch into python3.x environment for testing javascripts. # from master branch into python3.x environment for testing javascripts.
# Horizon from master is needed to be cloned into ../horizon on both local and CI. # Horizon from master is needed to be cloned into ../horizon on both local and CI.
[testenv:karma] [testenv:karma]
Allowlist_externals = allowlist_externals =
{[testenv:eslint]whitelist_externals} {[testenv:eslint]whitelist_externals}
commands = commands =
npm install npm install
npm run test npm run test
[testenv:karma-local] [testenv:karma-local]
Allowlist_externals = allowlist_externals =
{[testenv:eslint]whitelist_externals} {[testenv:eslint]whitelist_externals}
commands = commands =
{[testenv:karma]commands} {[testenv:karma]commands}