From 648d8df57865575cc0a9acb265878ca9204775fd Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 20 Apr 2023 11:17:07 +0100 Subject: [PATCH] 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 --- tox.ini | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/tox.ini b/tox.ini index 9d3b9def91..369b7c7d82 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =