Fix failing zuul jobs due to tox showconfig

As part of how we nest the tox.ini files in STX,
the environments in the sub directories need to also
be defined in the tox.ini in the base file.

The issue in our tox files was exposed by this commit
https://review.opendev.org/c/zuul/zuul-jobs/+/866935

Partial-Bug: #1997255

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I526066015b90dc0637968defbc3648b310a27d44
This commit is contained in:
Al Bailey 2022-12-14 14:40:01 +00:00
parent 805b70e3ee
commit 40459e1dc9

View File

@ -32,6 +32,10 @@ commands = {posargs}
basepython = python3 basepython = python3
description = Dummy environment to allow flake8 to be run in subdir tox description = Dummy environment to allow flake8 to be run in subdir tox
[testenv:pep8_Debian]
basepython = python3
description = Dummy environment to allow pep8 to be run in subdir tox
[testenv:pep8] [testenv:pep8]
basepython = python3 basepython = python3
description = Dummy environment to allow pep8 to be run in subdir tox description = Dummy environment to allow pep8 to be run in subdir tox
@ -40,6 +44,10 @@ description = Dummy environment to allow pep8 to be run in subdir tox
basepython = python3 basepython = python3
description = Dummy environment to allow pylint to be run in subdir tox description = Dummy environment to allow pylint to be run in subdir tox
[testenv:pylint_Debian]
basepython = python3
description = Dummy environment to allow pylint to be run in subdir tox
[testenv:linters] [testenv:linters]
basepython = python3 basepython = python3
whitelist_externals = bash whitelist_externals = bash