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:
Dirk Mueller 2020-06-02 13:33:49 +02:00
parent ebb9fe8aa4
commit 1a26da98d6
1 changed files with 6 additions and 3 deletions

View File

@ -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