Skip to content

Commit 648d8df

Browse files
committed
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>
1 parent ee23995 commit 648d8df

1 file changed

Lines changed: 7 additions & 15 deletions

File tree

tox.ini

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,18 @@ commands =
5757
python -m pip freeze
5858
stestr run {posargs}
5959

60-
[testenv:functional]
60+
[testenv:functional{,-tips,-py38,-py39,-py310,-py311,-py312}]
6161
setenv =
6262
OS_TEST_PATH=./openstackclient/tests/functional
6363
passenv =
6464
OS_*
6565
commands =
66-
stestr run {posargs}
67-
68-
[testenv:functional-tips]
69-
setenv =
70-
OS_TEST_PATH=./openstackclient/tests/functional
71-
passenv =
72-
OS_*
73-
commands =
74-
python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
75-
python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth1
76-
python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
77-
python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
78-
python -m pip freeze
79-
stestr run {posargs}
66+
tips: python -m pip install -q -U -e {toxinidir}/../cliff#egg=cliff
67+
tips: python -m pip install -q -U -e {toxinidir}/../keystoneauth#egg=keystoneauth1
68+
tips: python -m pip install -q -U -e {toxinidir}/../osc-lib#egg=osc_lib
69+
tips: python -m pip install -q -U -e {toxinidir}/../openstacksdk#egg=openstacksdk
70+
tips: python -m pip freeze
71+
{[testenv]commands}
8072

8173
[testenv:venv]
8274
deps =

0 commit comments

Comments
 (0)