Skip to content

Commit

Permalink
add official Django 5.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
GeyseR committed Dec 26, 2024
1 parent 2692250 commit 92a0bd0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
django: ["3.2", "4.2", "5.0"]
django: ["3.2", "4.2", "5.0", "5.1"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- django: "3.2"
Expand All @@ -23,6 +23,10 @@ jobs:
python-version: "3.8"
- django: "5.0"
python-version: "3.9"
- django: "5.1"
python-version: "3.8"
- django: "5.1"
python-version: "3.9"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
envlist =
py{38,39,310}-django32
py{38,39}-django42
py{310,311}-django{42,50,main}
py312-django{42,50,main}
py{310,311}-django{42,50,51,main}
py312-django{42,50,51,main}
pre-commit

[gh-actions]
Expand All @@ -19,6 +19,7 @@ DJANGO =
3.2: django32
4.2: django42
5.0: django50
5.1: django51
main: djangomain

[testenv]
Expand All @@ -33,6 +34,7 @@ deps =
django32: Django>=3.2,<4.0
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
djangomain: https://github.com/django/django/archive/main.zip
commands = {posargs:pytest --cov=graphene_django graphene_django examples}

Expand Down

0 comments on commit 92a0bd0

Please sign in to comment.