Fix incorrect base python version being picked for unit tests
Currently all unit tests are running against python 3.6, because the base testenv has python3 set (which points to 3.6). we need to ignore the base python conflict and let tox chose the specific version we're looking for testing. Change-Id: Id5fa9404d27f537d6e4a4296d780f96841a5aca3
This commit is contained in:
parent
ebb9fe8aa4
commit
1a26da98d6
9
tox.ini
9
tox.ini
|
@ -1,7 +1,10 @@
|
|||
[tox]
|
||||
minversion = 2.0
|
||||
envlist = py37,pep8
|
||||
skipsdist = True
|
||||
minversion = 3.1.1
|
||||
envlist = py36,py37,py38,pep8
|
||||
# Automatic envs (pyXX) will only use the python version appropriate to that
|
||||
# env and ignore basepython inherited from [testenv] if we set
|
||||
# ignore_basepython_conflict.
|
||||
ignore_basepython_conflict = True
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
|
|
Loading…
Reference in New Issue