add Django 4.0, Python 3.10, drop Django 1.11 in tox.ini and GitHub actions

This commit is contained in:
Petr Dlouhý 2022-02-24 13:40:42 +01:00
parent bd3e807ac6
commit 358bbcf546
2 changed files with 7 additions and 3 deletions

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
python-version: [ 3.6, 3.7, 3.8, 3.9, '3.10' ]
steps:
- uses: actions/checkout@v1

View file

@ -2,7 +2,9 @@
envlist =
begin
py36-lint
py{36,37,38,39}-django{111,2,21,22,3,31}
py{36,37,38,39}-django{2}
py{36,37,38,39,310}-django{21,22,3,31,32}
py{38,39,310}-django{40}
coverage-report
[gh-actions]
@ -11,6 +13,7 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[testenv]
passenv = GITHUB_*
@ -21,7 +24,8 @@ deps=
django22: Django>=2.2,<2.3
django3: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django111: Django>=1.11,<1.12
django32: Django>=3.2,<40
django40: Django>=4.0,<4.1
coverage[toml]
pillow
ipdb