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: Ibc2def246bf2a96213b0e1429e4d97a5eb0f4406 Story: #2005924 Task: #34228
This commit is contained in:
parent
1a437a37eb
commit
bd1c14eb39
@ -1,4 +1,5 @@
|
||||
- project:
|
||||
templates:
|
||||
- python35-charm-jobs
|
||||
- openstack-python3-train-jobs
|
||||
- openstack-cover-jobs
|
||||
|
7
tox.ini
7
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
skipsdist = True
|
||||
envlist = pep8,py3
|
||||
envlist = pep8,py37
|
||||
skip_missing_interpreters = True
|
||||
|
||||
[testenv]
|
||||
@ -25,6 +25,11 @@ basepython = python3.6
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = ostestr {posargs}
|
||||
|
||||
[testenv:py37]
|
||||
basepython = python3.7
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = ostestr {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user