-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtox.ini
48 lines (43 loc) · 1.01 KB
/
tox.ini
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
38
39
40
41
42
43
44
45
46
47
48
[tox]
isolated_build = True
envlist =
py{38,39}-dj{30,31,32,40,41},
py310-dj{32,40,41,42,50},
py311-dj{41,42,50},
py312-dj{42,50},
skipsdist = true
[tox:.package]
# note tox will use the same python version as under what tox is installed to package
# so unless this is python 3 you can require a given python version for the packaging
# environment via the basepython key
basepython = python3
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
allowlist_externals = poetry
commands =
pytest --cov=django_dynamodb_cache tests/ --cov-report=xml --cov-append
passenv = *
deps =
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<3.3
dj40: Django>=4.0a,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
djmaster: git+https://github.com/django/django
pytest
pytest-cov
moto
boto3
botocore
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase