-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (30 loc) · 879 Bytes
/
tox.ini
File metadata and controls
32 lines (30 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[tox]
requires =
tox>=4
envlist =
# Django official Python support
# Source: https://docs.djangoproject.com/en/5.1/faq/install/#what-python-version-can-i-use-with-django
{py310,py311,py312}-{django42,django50,django51,django52}
[gh]
python =
3.10 = py310-{django42,django50}
3.11 = py311-{django42,django50}
3.12 = py312-{django42,django50,django51,django52}
3.13 = py313-{django42,django50,django51,django52}
[testenv]
description = run tests
basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
deps =
poetry
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django52: Django>=5.2,<5.3
commands_pre =
poetry install --with dev
commands =
poetry run pytest -n auto --cov vintasend_django --cov-report=xml:coverage-{envname}.xml {posargs}