|
|
|
@ -17,30 +17,22 @@
|
|
|
|
|
pre-run: playbooks/horizon-tox-django/pre.yaml |
|
|
|
|
run: playbooks/horizon-tox-django/run.yaml |
|
|
|
|
vars: |
|
|
|
|
tox_envlist: py38 |
|
|
|
|
tox_envlist: py39 |
|
|
|
|
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 |
|
|
|
|
# Currently we only support Django 3.2, so there is no need |
|
|
|
|
# to run tests with different versions of Django. |
|
|
|
|
# We specify a job in openstack-python3-yoga-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 |
|
|
|
|
- openstack-tox-py39 |
|
|
|
|
gate: |
|
|
|
|
jobs: |
|
|
|
|
- openstack-tox-py38 |
|
|
|
|
- horizon-tox-python3-django32 |
|
|
|
|
- openstack-tox-py39 |
|
|
|
|