Skip to content

Instantly share code, notes, and snippets.

@mverteuil
Created October 21, 2021 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mverteuil/844e9ec31427404e21ffed71ee380a69 to your computer and use it in GitHub Desktop.
Save mverteuil/844e9ec31427404e21ffed71ee380a69 to your computer and use it in GitHub Desktop.
[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