Skip to content

Commit

Permalink
Add explicit support for Django 4.2 to the test matrix (#47)
Browse files Browse the repository at this point in the history
This way, when Django 5.0 comes out in ~2 weeks, the repo will be
able to test both.
  • Loading branch information
drewbrew authored Nov 20, 2023
1 parent 1bdb10a commit 09bb164
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = true
envlist = py{310,311}-dj{31,32,40,41,latest}-{mysql,postgresql,sqlite},lint
envlist = py{310,311}-dj{31,32,40,41,42,latest}-{mysql,postgresql,sqlite},lint

[testenv]
allowlist_externals = poetry
Expand All @@ -14,6 +14,7 @@ commands =
dj32: poetry run pip install "Django>=3.2,<4.0"
dj40: poetry run pip install "Django>=4.0,<4.1"
dj41: poetry run pip install "Django>=4.1,<4.2"
dj42: poetry run pip install "Django>=4.2,<5.0"
latest: poetry run pip install -U Django
poetry run pytest --cov-report xml:coverage{envname}.xml

Expand Down

0 comments on commit 09bb164

Please sign in to comment.