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 Note that python35-charm-jobs is retained since this charm is supported on Xenial. Change-Id: I61183c0f3fd3baf013edc0eeda1503513127a17d Story: #2005924 Task: #34228
This commit is contained in:
parent
08fbcb95ab
commit
4b031f0b4c
|
@ -1,4 +1,5 @@
|
|||
- project:
|
||||
templates:
|
||||
- python35-charm-jobs
|
||||
- openstack-python3-train-jobs
|
||||
- openstack-cover-jobs
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -2,7 +2,7 @@
|
|||
# This file is managed centrally by release-tools and should not be modified
|
||||
# within individual charm repos.
|
||||
[tox]
|
||||
envlist = pep8,py3{5,6}
|
||||
envlist = pep8,py37
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
|
@ -32,6 +32,11 @@ basepython = python3.6
|
|||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:py37]
|
||||
basepython = python3.7
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue