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: Ie3b80cb280794688c9a907779c30e049a13936f1 Story: #2005924 Task: #34228
This commit is contained in:
parent
fb2f757494
commit
843c06f449
@ -1,3 +1,4 @@
|
||||
- project:
|
||||
templates:
|
||||
- python36-charm-jobs
|
||||
- python35-charm-jobs
|
||||
- openstack-python3-train-jobs
|
||||
|
12
tox.ini
12
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,py36
|
||||
envlist = pep8,py37
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
@ -22,11 +22,21 @@ basepython = python2.7
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:py35]
|
||||
basepython = python3.5
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:py36]
|
||||
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
Block a user