tox: Add Python-specific functional envs
Change-Id: I87815faa6139eb3b09f21b917b8250ac0619a979 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
3e63fb9dd9
commit
43e6dbaf67
@ -258,7 +258,7 @@ class ClientTestBase(testtools.TestCase):
|
|||||||
# something more sensible.
|
# something more sensible.
|
||||||
cli_dir = os.environ.get(
|
cli_dir = os.environ.get(
|
||||||
'OS_NOVACLIENT_EXEC_DIR',
|
'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(
|
self.cli_clients = tempest.lib.cli.base.CLIClient(
|
||||||
username=user,
|
username=user,
|
||||||
|
2
tox.ini
2
tox.ini
@ -61,7 +61,7 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
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_*
|
passenv = OS_*
|
||||||
commands =
|
commands =
|
||||||
stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}
|
stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user