Skip to content

Commit

Permalink
test: setup tox
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Oct 13, 2023
1 parent e21d3ef commit 9627c64
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[tox]
isolated_build = true
requires =
tox>=4.2
env_list =
py312-django{50,42}
py311-django{50,42,41}
py310-django{50,42,41,40,32}
py39-django{42,41,40,32}
py38-django{42,41,40,32}

[testenv]
deps =
# Avoid duplicate test deps with Poetry deps
pytest
pytest-cov
pytest-django
# All supported Django versions
django50: Django>=5.0a1,<5.1
django42: Django>=4.2,<5.0
django41: Django>=4.1,<4.2
django40: Django>=4.0,<4.1
django32: Django>=3.2,<4.0
commands =
python \
-m pytest {posargs:tests}

0 comments on commit 9627c64

Please sign in to comment.