From f3af5771d7aed1f7e29dfe8abbc2042b46c3ea0c Mon Sep 17 00:00:00 2001 From: Corey Bryant Date: Fri, 12 Jul 2019 14:29:10 -0400 Subject: [PATCH] Add Python 3 Train unit tests This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: Ieab6102178a09d43e97453c85b2fb19c87ca6ef6 Story: #2005924 Task: #34228 --- .zuul.yaml | 2 +- tox.ini | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 0faad73..bef8e83 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,5 +1,5 @@ - project: templates: - python-charm-jobs - - openstack-python36-jobs + - openstack-python3-train-jobs - openstack-cover-jobs diff --git a/tox.ini b/tox.ini index f439ab1..84a6d92 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ # within individual charm repos. [tox] skipsdist = True -envlist = pep8,py36 +envlist = pep8,py37 skip_missing_interpreters = True [testenv] @@ -38,6 +38,11 @@ basepython = python3.6 deps = -r{toxinidir}/test-requirements.txt commands = stestr run {posargs} +[testenv:py37] +basepython = python3.7 +deps = -r{toxinidir}/test-requirements.txt +commands = stestr run {posargs} + [testenv:pep8] basepython = python3.5 deps = -r{toxinidir}/test-requirements.txt