diff options
author | John Dickinson <me@not.mn> | 2018-09-26 18:29:18 -0700 |
---|---|---|
committer | John Dickinson <me@not.mn> | 2018-09-27 13:28:05 -0700 |
commit | a6baf00e245275634175d827552ffde7d655ad4d (patch) | |
tree | 10bf010cfb86c9527de1df4addf109d3b17c9a97 | |
parent | 2fca5dc390f8d7b4ed2320b2f3dd9e505c690e6a (diff) | |
download | python-swiftclient-a6baf00e245275634175d827552ffde7d655ad4d.tar.gz |
py2 functional testing
Change-Id: I24ff8fb28969a0b074313bc9491b299afac3b49c
-rw-r--r-- | .zuul.yaml | 10 | ||||
-rw-r--r-- | tox.ini | 6 |
2 files changed, 16 insertions, 0 deletions
@@ -24,6 +24,14 @@ # Override value from parent job to use swiftclient tests zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack/python-swiftclient'].src_dir }}" +- job: + name: swiftclient-functional-py2 + parent: swiftclient-functional + description: | + Run functional tests of python-swiftclient under Python 2 + vars: + tox_envlist: py2func + - project: templates: - openstack-python-jobs @@ -38,11 +46,13 @@ jobs: - swiftclient-swift-functional - swiftclient-functional + - swiftclient-functional-py2 - openstack-tox-lower-constraints gate: jobs: - swiftclient-swift-functional - swiftclient-functional + - swiftclient-functional-py2 - openstack-tox-lower-constraints post: jobs: @@ -46,6 +46,12 @@ commands = coverage report -m rm -f .coverage +[testenv:py2func] +basepython=python2 +setenv = {[testenv:func]setenv} +whitelist_externals = {[testenv:func]whitelist_externals} +commands = {[testenv:func]commands} + [testenv:docs] basepython = python3 commands= |