Skip to content

Commit

Permalink
Add the upcoming Django 4.1 to the CI matrix (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask authored May 18, 2022
1 parent 99d4884 commit 091cb14
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ envlist =
docs
packaging
py{37}-dj{32}-{sqlite,postgresql,postgis,mysql}
py{38,39,310}-dj{32,40,main}-{sqlite,postgresql,postgis,mysql}
py{38,39,310}-dj{32,40,41,main}-{sqlite,postgresql,postgis,mysql}

[testenv]
deps =
dj32: django~=3.2.9
dj40: django~=4.0.0
dj41: django>=4.1a1,<4.2
postgresql: psycopg2-binary
postgis: psycopg2-binary
mysql: mysqlclient
Expand Down Expand Up @@ -41,25 +42,25 @@ whitelist_externals = make
pip_pre = True
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}

[testenv:py{37,38,39,310}-dj{40,main}-postgresql]
[testenv:py{37,38,39,310}-dj{40,41,main}-postgresql]
setenv =
{[testenv]setenv}
DB_BACKEND = postgresql
DB_PORT = {env:DB_PORT:5432}

[testenv:py{37,38,39,310}-dj{32,40,main}-postgis]
[testenv:py{37,38,39,310}-dj{32,40,41,main}-postgis]
setenv =
{[testenv]setenv}
DB_BACKEND = postgis
DB_PORT = {env:DB_PORT:5432}

[testenv:py{37,38,39,310}-dj{32,40,main}-mysql]
[testenv:py{37,38,39,310}-dj{32,40,41,main}-mysql]
setenv =
{[testenv]setenv}
DB_BACKEND = mysql
DB_PORT = {env:DB_PORT:3306}

[testenv:py{37,38,39,310}-dj{32,40,main}-sqlite]
[testenv:py{37,38,39,310}-dj{32,40,41,main}-sqlite]
setenv =
{[testenv]setenv}
DB_BACKEND = sqlite3
Expand Down

0 comments on commit 091cb14

Please sign in to comment.