Switch to tox 4.0 compatible listing
Change-Id: If711306c9ace25fabb42dcbb002ee9c1a36adaf8
This commit is contained in:
parent
469d4a3ef6
commit
52c8d40b53
@ -2,6 +2,8 @@
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-validate
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-validate
|
||||
|
8
tox.ini
8
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
minversion = 2.1
|
||||
minversion = 4.0
|
||||
envlist = rpm-packaging-lint
|
||||
skipsdist = True
|
||||
|
||||
@ -10,13 +10,17 @@ setenv =
|
||||
LC_ALL=en_US.utf-8
|
||||
install_command = pip install -U -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
passenv = http_proxy,https_proxy,no_proxy
|
||||
|
||||
[testenv:linters]
|
||||
commands =
|
||||
{toxinidir}/tools/run_renderspec.sh {toxinidir} {posargs}
|
||||
{toxinidir}/tools/run_specchecks.sh {toxinidir} {posargs}
|
||||
{toxinidir}/tools/run_speccleaner.sh {toxinidir} {posargs}
|
||||
allowlist_externals =
|
||||
{toxinidir}/tools/run_renderspec.sh
|
||||
{toxinidir}/tools/run_specchecks.sh
|
||||
{toxinidir}/tools/run_speccleaner.sh
|
||||
|
||||
# compat. remove me
|
||||
[testenv:lint]
|
||||
|
Loading…
Reference in New Issue
Block a user