Merge "Add Python 3 Train unit tests"

This commit is contained in:
Zuul 2019-08-13 18:12:05 +00:00 committed by Gerrit Code Review
commit 8a8495a4b3
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,4 @@
- project: - project:
templates: templates:
- python35-charm-jobs - python35-charm-jobs
- openstack-python3-train-jobs

View File

@ -11,6 +11,11 @@ classifier =
Intended Audience :: System Administrators Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
[nosetests] [nosetests]
verbosity=2 verbosity=2

View File

@ -2,7 +2,7 @@
# This file is managed centrally by release-tools and should not be modified # This file is managed centrally by release-tools and should not be modified
# within individual charm repos. # within individual charm repos.
[tox] [tox]
envlist = pep8,py3 envlist = pep8,py37
skipsdist = True skipsdist = True
[testenv] [testenv]
@ -27,6 +27,11 @@ basepython = python3.6
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
[testenv:py37]
basepython = python3.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py3] [testenv:py3]
basepython = python3 basepython = python3
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt