-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
68 lines (60 loc) · 2.13 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[tox]
isolated_build = True
envlist =
py38-django42-drf314-ppg2b284
py39-django42-drf314-ppg2b284
py310-django42-drf314-ppg2b284
py311-django42-drf314-ppg2b284
py37-django22-drf{311,312,313}-ppg2b283
py38-django22-drf{311,312,313}-ppg2b283
py39-django22-drf{311,312,313}-ppg2b283
py310-django22-drf{311,312,313}-ppg2b283
py37-django32-drf{311,312,313,314}-ppg2b284
py38-django32-drf{311,312,313,314}-ppg2b284
py39-django32-drf{311,312,313,314}-ppg2b284
py310-django32-drf{311,312,313,314}-ppg2b284
py311-django32-drf{311,312,313,314}-ppg2b284
py38-django40-drf{313,314}-ppg2b284
py39-django40-drf{313,314}-ppg2b284
py310-django40-drf{313,314}-ppg2b284
py311-django40-drf{313,314}-ppg2b284
py38-django41-drf{314}-ppg2b284
py39-django41-drf{314}-ppg2b284
py310-django41-drf{314}-ppg2b284
py311-django41-drf{314}-ppg2b284
[gh-actions]
# Mapping of Python versions (MAJOR.MINOR) to Tox factors.
# When running Tox inside GitHub Actions, the `tox-gh-actions` plugin automatically:
# 1. Identifies the Python version used to run Tox.
# 2. Determines the corresponding Tox factor for that Python version, based on the `python` mapping below.
# 3. Narrows down the Tox `envlist` to environments that match the factor.
# For more details, please see the `tox-gh-actions` README [0] and architecture documentation [1].
# [0] https://github.com/ymyzk/tox-gh-actions/tree/v2.8.1
# [1] https://github.com/ymyzk/tox-gh-actions/blob/v2.8.1/ARCHITECTURE.md
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps =
django-debug-toolbar>=1.0.0
factory-boy>=3.2.1
mixpanel>=4.9.0
pytest>=2.7
pytest-django>=3.4
pytest-mock>=1.10
ppg2b283: psycopg2-binary==2.8.3
ppg2b284: psycopg2-binary>=2.8.4
drf311: djangorestframework~=3.11.0
drf312: djangorestframework~=3.12.0
drf313: djangorestframework~=3.13.0
drf314: djangorestframework~=3.14.0
django22: Django~=2.2.0
django32: Django~=3.2.0
django40: Django~=4.0.0
django41: Django~=4.1.0
django42: Django~=4.2.0
commands =
py.test {posargs}