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: Ib911b336f15586e61fc9dd3e60673450f5a45866
Story: #2005924
Task: #34228
This commit is contained in:
Corey Bryant 2019-07-12 14:29:30 -04:00
parent 51923f1429
commit 542f2de97e
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
- project:
templates:
- python36-charm-jobs
- openstack-python3-train-jobs
- openstack-cover-jobs

View File

@ -3,7 +3,7 @@
# within individual charm repos.
[tox]
skipsdist = True
envlist = pep8,py36
envlist = pep8,py37
skip_missing_interpreters = True
[testenv]
@ -42,6 +42,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
deps = -r{toxinidir}/test-requirements.txt