From 52122a6cdf1ad62244f84c401bdba8cc5ff30d7d Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Thu, 7 Jun 2018 09:22:13 +0200 Subject: [PATCH] Gate python3 unittests Add a job to gate python3 unittests Depends-on: I4c20eb58982c66598f0283864b9863b84cc29e57 Change-Id: I2195320e578d88d84d53eb2cf411e5e6476a5a5c --- .zuul.yaml | 2 ++ tox.ini | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 399f4db..5012332 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -41,6 +41,7 @@ jobs: - openstack-tox-pep8 - openstack-tox-py27 + - openstack-tox-py35 - kollacli-tox-mypy - kollacli-tox-functional - kollacli-tox-functional-py35 @@ -48,6 +49,7 @@ jobs: - openstack-tox-pep8 - openstack-tox-py27 + - openstack-tox-py35 - kollacli-tox-mypy - kollacli-tox-functional - kollacli-tox-functional-py35 diff --git a/tox.ini b/tox.ini index 87f7547..da10f68 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 skipsdist = True -envlist = pep8,mypy,functional,functional-py35,py27 +envlist = pep8,mypy,functional,functional-py35,py27,py35 [testenv] usedevelop=True @@ -20,6 +20,9 @@ commands = [testenv:py27] commands = ostestr {posargs} +[testenv:py35] +commands = stestr run {posargs} + [testenv:functional] whitelist_externals = {[testenv]whitelist_externals}