Merge "Add non-voting job to test Django 5.2"

This commit is contained in:
Zuul
2025-09-24 18:14:51 +00:00
committed by Gerrit Code Review
2 changed files with 10 additions and 1 deletions

View File

@@ -32,6 +32,13 @@
vars:
django_version: '>=4.2,<4.3'
- job:
name: horizon-tox-python3-django52
parent: horizon-tox-python3-django
voting: false
vars:
django_version: '>=5.2,<5.3'
- project-template:
name: horizon-non-primary-django-jobs
description: |
@@ -47,6 +54,7 @@
# only one version of Django covered by the default job.
# Just comment it out for such case.
- horizon-tox-python3-django42
- horizon-tox-python3-django52
gate:
jobs:
# Default python job in openstack-python3-antelope-jobs(-horizon)

View File

@@ -1,6 +1,6 @@
[tox]
minversion = 4.4
envlist = pep8,py3,releasenotes,npm,py3-dj42
envlist = pep8,py3,releasenotes,npm,py3-dj{42,52}
[testenv]
usedevelop = True
@@ -21,6 +21,7 @@ deps =
hacking>=7.0.0,<7.1.0 # Apache-2.0
commands =
dj42: pip install django>=4.2,<4.3
dj52: pip install django>=5.2,<5.3
find . -type f -name "*.pyc" -delete
bash {toxinidir}/tools/unit_tests.sh {toxinidir} {posargs}