Add django 3.1 to test matrix

This commit is contained in:
Nikolai R Kristiansen 2020-08-06 00:04:40 +02:00
parent 25de313645
commit 293ca0e5d4
No known key found for this signature in database
GPG Key ID: 1A24E7511E55EF87
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@ jobs:
strategy: strategy:
max-parallel: 4 max-parallel: 4
matrix: matrix:
django: ["1.11", "2.2", "3.0"] django: ["1.11", "2.2", "3.0", "3.1"]
python-version: ["3.6", "3.7", "3.8"] python-version: ["3.6", "3.7", "3.8"]
include: include:
- django: "1.11" - django: "1.11"

View File

@ -1,7 +1,7 @@
[tox] [tox]
envlist = envlist =
py{27,35,36,37,38}-django{111,20,21,22,master}, py{27,35,36,37,38}-django{111,20,21,22,master},
py{36,37,38}-django30, py{36,37,38}-django{30,31},
black,flake8 black,flake8
[gh-actions] [gh-actions]
@ -18,6 +18,7 @@ DJANGO =
2.1: django21 2.1: django21
2.2: django22 2.2: django22
3.0: django30 3.0: django30
3.1: django31
master: djangomaster master: djangomaster
[testenv] [testenv]
@ -33,6 +34,7 @@ deps =
django21: Django>=2.1,<2.2 django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0 django22: Django>=2.2,<3.0
django30: Django>=3.0a1,<3.1 django30: Django>=3.0a1,<3.1
django31: Django>=3.1,<3.2
djangomaster: https://github.com/django/django/archive/master.zip djangomaster: https://github.com/django/django/archive/master.zip
commands = {posargs:py.test --cov=graphene_django graphene_django examples} commands = {posargs:py.test --cov=graphene_django graphene_django examples}