Update tox.ini for wallaby supported pythons

The wallaby PTI specifies python 3.6 and 3.8 as the supported
wallaby versions.

Change-Id: I25fe58ce9d09efdb08b40c5ca05635174de59aa4
This commit is contained in:
Brian Rosmaita 2020-11-23 10:36:01 -05:00
parent 9f72ebed49
commit da63dfd8ff
1 changed files with 6 additions and 5 deletions

11
tox.ini
View File

@ -1,6 +1,7 @@
[tox]
minversion = 3.1
envlist = py37,pep8
# python runtimes: https://governance.openstack.org/tc/reference/project-testing-interface.html#tested-runtimes
envlist = py3,pep8
skipsdist = True
setenv = VIRTUAL_ENV={envdir}
# this allows tox to infer the base python from the environment name
@ -69,14 +70,14 @@ basepython=python3.6
commands = {[testenv:functional]commands}
whitelist_externals = {[testenv:functional]whitelist_externals}
[testenv:functional-py37]
[testenv:functional-py38]
usedevelop=True
setenv =
{[testenv:functional]setenv}
sitepackages = True
basepython=python3.7
# Not reusing py37's env due to https://github.com/tox-dev/tox/issues/477
# envdir = {toxworkdir}/py37
basepython=python3.8
# Not reusing py38's env due to https://github.com/tox-dev/tox/issues/477
# envdir = {toxworkdir}/py38
commands = {[testenv:functional]commands}
whitelist_externals = {[testenv:functional]whitelist_externals}