tox: Add Python-specific functional envs

Change-Id: I87815faa6139eb3b09f21b917b8250ac0619a979
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-08-27 10:53:06 +01:00
parent 3e63fb9dd9
commit 43e6dbaf67
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ class ClientTestBase(testtools.TestCase):
# something more sensible.
cli_dir = os.environ.get(
'OS_NOVACLIENT_EXEC_DIR',
os.path.join(os.path.abspath('.'), '.tox/functional/bin'))
os.path.join(os.environ['TOX_ENV_DIR'], 'bin'))
self.cli_clients = tempest.lib.cli.base.CLIClient(
username=user,

View File

@ -61,7 +61,7 @@ deps =
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:functional]
[testenv:functional{,-py38,-py39,-py310,-py311,-py312}]
passenv = OS_*
commands =
stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}