tox: Add functional-pyNN jobs

Let's us test with specific Python versions. We also merge the
'functional-tips' target in.

Change-Id: I08e1b3e2f4be57aec0c1cd01274d86dfec769666
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2023-04-20 11:17:07 +01:00 committed by Stephen Finucane
parent ee23995004
commit 648d8df578

22
tox.ini
View File

@ -57,26 +57,18 @@ commands =
python -m pip freeze
stestr run {posargs}
[testenv:functional]
[testenv:functional{,-tips,-py38,-py39,-py310,-py311,-py312}]
setenv =
OS_TEST_PATH=./openstackclient/tests/functional
passenv =
OS_*
commands =
stestr run {posargs}
[testenv:functional-tips]
setenv =
OS_TEST_PATH=./openstackclient/tests/functional
passenv =
OS_*
commands =
python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth1
python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
python -m pip freeze
stestr run {posargs}
tips: python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
tips: python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth1
tips: python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
tips: python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
tips: python -m pip freeze
{[testenv]commands}
[testenv:venv]
deps =