python-swiftclient/.zuul.yaml
Corey Bryant efe3d084de 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: I764b9765484e1d8217d56796d984f910aa5f9c5a
Story: #2005924
Task: #34249
2019-07-05 16:22:32 -04:00

58 lines
1.7 KiB
YAML

- job:
name: swiftclient-swift-functional
parent: swift-dsvm-functional
description: |
Run swift's functional tests with python-swiftclient
installed from source instead as package from PyPI.
# Ensure that we install python-swiftclient from git and
# do not install from pypi. This is needed since the parent
# job sets zuul_work_dir to the swift directory and uses tox
# for installation.
required-projects:
- opendev.org/openstack/python-swiftclient
- job:
name: swiftclient-functional
parent: swift-dsvm-functional
description: |
Run functional tests of python-swiftclient with
python-swiftclient installed from source instead as package from
PyPI.
required-projects:
- opendev.org/openstack/python-swiftclient
vars:
# Override value from parent job to use swiftclient tests
zuul_work_dir: "{{ zuul.projects['opendev.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:
- check-requirements
- lib-forward-testing
- openstack-lower-constraints-jobs
- openstack-pypy-jobs-nonvoting
- openstack-python-jobs
- openstack-python3-train-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional-py2
gate:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional-py2
post:
jobs:
- openstack-tox-cover