CI: add Django 4.2 (#1420)

* CI: add Django 4.2

* fix tox
This commit is contained in:
Dulmandakh 2023-06-07 21:52:40 +08:00 committed by GitHub
parent 8934393909
commit c925a32dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -8,13 +8,15 @@ jobs:
strategy:
max-parallel: 4
matrix:
django: ["3.2", "4.0", "4.1"]
django: ["3.2", "4.0", "4.1", "4.2"]
python-version: ["3.8", "3.9", "3.10"]
include:
- django: "3.2"
python-version: "3.7"
- django: "4.1"
python-version: "3.11"
- django: "4.2"
python-version: "3.11"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}

View File

@ -18,6 +18,7 @@ DJANGO =
3.2: django32
4.0: django40
4.1: django41
4.2: django42
main: djangomain
[testenv]
@ -32,6 +33,7 @@ deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
djangomain: https://github.com/django/django/archive/main.zip
commands = {posargs:py.test --cov=graphene_django graphene_django examples}