mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-24 02:24:10 +03:00
Remove Django 4.1 (EOL) and add Django 5.0 to CI (#1483)
This commit is contained in:
parent
62126dd467
commit
db2d40ec94
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
|
@ -12,15 +12,17 @@ jobs:
|
|||
strategy:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
django: ["3.2", "4.1", "4.2"]
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
include:
|
||||
- django: "4.1"
|
||||
django: ["3.2", "4.2", "5.0"]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
exclude:
|
||||
- django: "3.2"
|
||||
python-version: "3.11"
|
||||
- django: "4.2"
|
||||
python-version: "3.11"
|
||||
- django: "4.2"
|
||||
- django: "3.2"
|
||||
python-version: "3.12"
|
||||
- django: "5.0"
|
||||
python-version: "3.8"
|
||||
- django: "5.0"
|
||||
python-version: "3.9"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,9 +1,9 @@
|
|||
[tox]
|
||||
envlist =
|
||||
py{38,39,310}-django32
|
||||
py{38,39}-django{41,42}
|
||||
py{310,311}-django{41,42,main}
|
||||
py312-django{42,main}
|
||||
py{38,39}-django42
|
||||
py{310,311}-django{42,50,main}
|
||||
py312-django{42,50,main}
|
||||
pre-commit
|
||||
|
||||
[gh-actions]
|
||||
|
@ -17,8 +17,8 @@ python =
|
|||
[gh-actions:env]
|
||||
DJANGO =
|
||||
3.2: django32
|
||||
4.1: django41
|
||||
4.2: django42
|
||||
5.0: django50
|
||||
main: djangomain
|
||||
|
||||
[testenv]
|
||||
|
@ -31,8 +31,8 @@ deps =
|
|||
-e.[test]
|
||||
psycopg2-binary
|
||||
django32: Django>=3.2,<4.0
|
||||
django41: Django>=4.1,<4.2
|
||||
django42: Django>=4.2,<4.3
|
||||
django50: Django>=5.0,<5.1
|
||||
djangomain: https://github.com/django/django/archive/main.zip
|
||||
commands = {posargs:pytest --cov=graphene_django graphene_django examples}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user