Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the upcoming Django 4.1 to the CI matrix #1623

Merged
merged 1 commit into from
May 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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