Created
October 21, 2021 15:43
-
-
Save mverteuil/844e9ec31427404e21ffed71ee380a69 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tox] | |
isolated_build = True | |
envlist = py{38,39}-django{20,21,22,30,31,32},py310-django{21,22,30,31,32} | |
requires = | |
tox-poetry-installer[poetry] == 0.8.1 | |
tox-py == 1.1.0 | |
[tox:.package] | |
basepython = python3 | |
[testenv] | |
allowlist_externals = poetry | |
require_poetry = True | |
install_dev_deps = True | |
setenv = | |
WITH_XUNIT = 1 | |
XUNIT_FILENAME = junit-{envname}.xml | |
commands = | |
poetry run python manage.py check | |
poetry run python manage.py makemigrations --check --noinput | |
poetry run python runtests.py | |
deps = | |
django20: Django>=2.0.0,<2.1.0 | |
django21: Django>=2.1.0,<2.2.0 | |
django22: Django>=2.2.0,<3.0.0 | |
django30: Django>=3.0.0,<3.1.0 | |
django31: Django>=3.1.0,<3.2.0 | |
django32: Django>=3.2.0,<3.3.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment