f3d2b9d540
This commit adds a non-voting unit test job with Django 3.2. Jobs with Django 3.0 and 3.1 are dropped now. They were introduced before Django 3.2 was released. Django 3.0 reached EOL and Django 3.1 will reach EOL this December. Django 3.2 is an LTS version so testing with Django 3.2 is enough. Change-Id: Ic6ba0ea281b287b7f4762f92e2e81a6fd654da8f
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
- job:
|
|
name: horizon-tox-python3-django
|
|
abstract: true
|
|
parent: horizon-openstack-tox-base
|
|
description: |
|
|
Run tox with different Django version.
|
|
|
|
.. zuul:jobvar: tox_envlist
|
|
|
|
Which tox environment to run
|
|
|
|
.. zuul:jobvar: django_version
|
|
|
|
Django version to be used.
|
|
pip version specifier like ``>=1.11,<2.0`` should be passed.
|
|
|
|
pre-run: playbooks/horizon-tox-django/pre.yaml
|
|
run: playbooks/horizon-tox-django/run.yaml
|
|
vars:
|
|
tox_envlist: py38
|
|
required-projects:
|
|
- name: openstack/horizon
|
|
|
|
- job:
|
|
name: horizon-tox-python3-django32
|
|
parent: horizon-tox-python3-django
|
|
vars:
|
|
django_version: '>=3.2,<3.3'
|
|
|
|
- project-template:
|
|
name: horizon-non-primary-django-jobs
|
|
description: |
|
|
Run unit tests with non-primary Django versions.
|
|
check:
|
|
jobs:
|
|
# Currently we only support Django 2.2, so there is no need
|
|
# to run tests with different versions of Django.
|
|
# We specify a job in openstack-python3-xena-jobs(-horizon)
|
|
# to keep this project template as it is used in horizon plugins.
|
|
# NOTE: We keep it as a template even though it is not used now.
|
|
- openstack-tox-py38
|
|
- horizon-tox-python3-django32:
|
|
voting: false
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-py38
|
|
# Skip these until the django3.x jobs become voting.
|
|
# - horizon-tox-python3-django32
|