Merge "Tox.ini: add py39"

This commit is contained in:
Zuul 2021-03-18 17:37:51 +00:00 committed by Gerrit Code Review
commit 922e544ca2

14
tox.ini
View File

@ -30,20 +30,12 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
commands = commands =
find . -type f -name "*.pyc" -delete find . -type f -name "*.pyc" -delete
stestr run --slowest {posargs}
whitelist_externals = bash whitelist_externals = bash
find find
rm rm
passenv = *_proxy *_PROXY passenv = *_proxy *_PROXY
[testenv:py36]
commands = stestr run --slowest {posargs}
[testenv:py37]
commands = stestr run --slowest {posargs}
[testenv:py38]
commands = stestr run --slowest {posargs}
[testenv:functional] [testenv:functional]
# this will use whatever the system python3 is # this will use whatever the system python3 is
setenv = setenv =
@ -62,6 +54,10 @@ commands = {[testenv:functional]commands}
setenv = {[testenv:functional]setenv} setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands} commands = {[testenv:functional]commands}
[testenv:functional-py39]
setenv = {[testenv:functional]setenv}
commands = {[testenv:functional]commands}
[testenv:genpolicy] [testenv:genpolicy]
basepython = python3 basepython = python3
commands = commands =