-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathtox.ini
49 lines (43 loc) · 1.24 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py38-django{ 32, 40, 41, 42 },
py39-django{ 32, 40, 41, 42 },
py310-django{ 32, 40, 41, 42 },
py311-django{ 32, 40, 41, 42 },
py312-django{ 32, 40, 41, 42 },
[testenv]
passenv = COVERAGE_FILE
allowlist_externals = make
commands = make test
install_command = pip install --pre {opts} {packages}
deps = six
Pillow
markdown<=3.3
django-discover-runner
coverage
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<5.0
[testenv:lcov]
passenv = COVERAGE_FILE
allowlist_externals = make
commands = make coverage-lcov
install_command = pip install --pre {opts} {packages}
deps = coverage
[testenv:coverage]
skip_install = true
basepython = python3.11
passenv = COVERAGE_FILE
allowlist_externals = make
commands = make coverage
deps = coverage
[testenv:lint]
skip_install = true
basepython = python3.11
allowlist_externals = make
commands = make lint
deps = flake8