chore: Update test matrix (add django 4) (#625)

This commit is contained in:
Serhii Tereshchenko 2022-01-30 11:47:57 +02:00 committed by GitHub
parent b9a8d8ecc4
commit 75195b28f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 7 deletions

View file

@ -30,9 +30,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
django: [2.2, 3.0, 3.2]
python: [3.7, 3.8, 3.9]
django: [2.2, 3.2]
database: ["sqlite", "postgres", "mysql"]
include:
- python-version: "3.9"
django: "4.0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DJANGO: ${{ matrix.django }}

10
tox.ini
View file

@ -7,9 +7,9 @@ exclude = .tox
distribute = False
envlist =
py{36,37,38,39}-2.2,
py{36,37,38,39}-3.0,
py{36,37,38,39}-3.1,
py{36,37,38,39}-3.2,
py{37,38,39}-4.0,
py{37,38,39}-4.1,
[testenv]
downloadcache = {toxworkdir}/_download/
@ -23,8 +23,8 @@ basepython =
py39: python3.9
deps =
2.2: Django==2.2.*
3.0: Django>=3.0a1,<3.1
3.1: Django>=3.1,<3.2
3.2: Django>=3.2,<4.0
3.2: Django==3.2.*
4.0: Django==4.0.*
4.1: Django==4.1.*
Pillow
six