From 5a2591051f51417dbd0bfc2de97446a24ba1f090 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 28 Jun 2018 11:11:27 -0500 Subject: [PATCH] Enable running py36 unit tests This adds a tox setting for skipping default targets if the specified version is not available. This allows tests to run using python 3.6 if available, but conversely also allows skipping python 3.5 or even 2.7 if those runtimes are not present. This only affects local default tox runs and does not change what is tested in the gate. Change-Id: Ia34fd32ab8d4672a2725468ee3d37697f51d5b3a --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f04e4ae3e89..51b4c61a373 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,8 @@ [tox] minversion = 2.0 skipsdist = True -envlist = py35,py27,compliance,pep8 +skip_missing_interpreters = true +envlist = py36,py35,py27,compliance,pep8 [testenv] setenv = VIRTUAL_ENV={envdir}