tox: Correct functional test factors
We are running functional tests in zuul without a 'pyNN' factor (e.g. 'tox -e functional'). For this to work, we need to allow an empty factor, i.e. we want: [testenv:functional{,-py310}] rather than: [testenv:functional{-py310}] (note the missing comma) Unfortunately we missed this as tox 4 has a currently unaddressed regression [1] that results in it running the base testenv in the case there is only a partial factor match. That needs to be fixed for avoid this biting us again the future, but we can at least fix it for now. [1] https://github.com/tox-dev/tox/issues/3219 Change-Id: Ib9f65a4523222f1224d51534c5061f90501b59d3 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
c2baf1db41
commit
568921ce5b
2
tox.ini
2
tox.ini
@ -23,7 +23,7 @@ commands =
|
|||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
stestr slowest
|
stestr slowest
|
||||||
|
|
||||||
[testenv:functional{-py37,-py38,-py39}]
|
[testenv:functional{,-py37,-py38,-py39,-py310,-py311,-py312}]
|
||||||
description =
|
description =
|
||||||
Run functional tests.
|
Run functional tests.
|
||||||
# Some jobs (especially heat) takes longer, therefore increase default timeout
|
# Some jobs (especially heat) takes longer, therefore increase default timeout
|
||||||
|
Loading…
Reference in New Issue
Block a user