Test against Django 5.0.x stable branch instead of 4.2.x

pull/10860/head
Matt Westcott 2023-10-04 11:41:02 +01:00 zatwierdzone przez Matt Westcott
rodzic 73a6456c04
commit bf0601bb42
2 zmienionych plików z 4 dodań i 4 usunięć
.github/workflows

Wyświetl plik

@ -26,7 +26,7 @@ concurrency:
# - django 4.2, python 3.11, mysql, parallel
# - django 4.1, python 3.11, postgres, parallel, USE_EMAIL_USER_MODEL=yes
# - django 4.2, python 3.12, postgres, parallel, DISABLE_TIMEZONE=yes
# - django stable/4.2.x, python 3.10, postgres (allow failures)
# - django stable/5.0.x, python 3.10, postgres (allow failures)
# - django main, python 3.10, postgres, parallel (allow failures)
# - elasticsearch 5, django 3.2, python 3.8, sqlite
# - elasticsearch 6, django 3.2, python 3.8, postgres
@ -97,7 +97,7 @@ jobs:
emailuser: emailuser
parallel: '--parallel'
- python: '3.10'
django: 'git+https://github.com/django/django.git@stable/4.2.x#egg=Django'
django: 'git+https://github.com/django/django.git@stable/5.0.x#egg=Django'
experimental: true
postgres: 'postgres:12'
- python: '3.10'

Wyświetl plik

@ -2,7 +2,7 @@
skipsdist = True
usedevelop = True
envlist = py{38,39,310,311,312}-dj{32,41,42,42stable,main}-{sqlite,postgres,mysql,mssql}-{elasticsearch8,elasticsearch7,elasticsearch6,elasticsearch5,noelasticsearch}-{customuser,emailuser}-{tz,notz},
envlist = py{38,39,310,311,312}-dj{32,41,42,50stable,main}-{sqlite,postgres,mysql,mssql}-{elasticsearch8,elasticsearch7,elasticsearch6,elasticsearch5,noelasticsearch}-{customuser,emailuser}-{tz,notz},
[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
@ -27,7 +27,7 @@ deps =
dj32: Django~=3.2.0
dj41: Django~=4.1.0
dj42: Django~=4.2.0
dj42stable: git+https://github.com/django/django.git@stable/4.2.x#egg=Django
dj50stable: git+https://github.com/django/django.git@stable/5.0.x#egg=Django
djmain: git+https://github.com/django/django.git@main#egg=Django
postgres: psycopg2>=2.6