forked from terencehonles/adrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (30 loc) · 839 Bytes
/
tox.ini
File metadata and controls
37 lines (30 loc) · 839 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
33
34
35
36
37
[tox]
isolated_build = True
envlist =
{py39,py310,py311,py312,py313,py314}-django42
{py310,py311,py312,py313,py314}-django52
{py310,py311,py312,py313,py314}-djangomain
lint
[testenv]
allowlist_externals = poetry
commands =
poetry install -v
poetry run pytest --cov-report term-missing --cov {posargs}
envdir = {toxworkdir}/venvs/{envname}
deps =
django42: Django>=4.2,<4.3
django52: Django>=5.2,<5.3
djangomain: https://github.com/django/django/archive/main.tar.gz
[testenv:py310-djangomain]
ignore_outcome = true
[testenv:py311-djangomain]
ignore_outcome = true
[testenv:py312-djangomain]
ignore_outcome = true
[testenv:py313-djangomain]
ignore_outcome = true
[testenv:py314-djangomain]
ignore_outcome = true
[testenv:lint]
deps = ruff
commands = ruff check adrf