Skip to content

Commit

Permalink
Remove Django 4.1 (EOL) and add Django 5.0 to CI (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiendang authored Dec 14, 2023
1 parent 62126dd commit db2d40e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -17,8 +17,8 @@ python =
[gh-actions:env]
DJANGO =
3.2: django32
4.1: django41
4.2: django42
5.0: django50
main: djangomain

[testenv]
Expand All @@ -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}

Expand Down

0 comments on commit db2d40e

Please sign in to comment.