diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b81501a..6444b443 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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" @@ -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 }} diff --git a/tox.ini b/tox.ini index 9a9dc14a..0e53bda3 100644 --- a/tox.ini +++ b/tox.ini @@ -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] @@ -19,6 +19,7 @@ DJANGO = 3.2: django32 4.2: django42 5.0: django50 + 5.1: django51 main: djangomain [testenv] @@ -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}