-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
39 lines (36 loc) · 839 Bytes
/
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
[tox]
envlist =
begin
py{36,37,38,39,310}-django-{32}
py{38,39,310}-django-{40}
py{38,39,310,311}-django-{41}
py{38,39,310,311,312}-django-{42}
py{310,311,312}-django-{50,51}
end
skip_missing_interpreters = True
[testenv]
usedevelop = True
extras = test
deps =
django-32: Django==3.2.*
django-40: Django==4.0.*
django-41: Django==4.1.*
django-42: Django==4.2.*
django-50: Django==5.0.*
django-51: Django>=5.1a1,<5.2
setenv =
DJANGO_SETTINGS_MODULE=django_alive.tests.settings
commands=
pytest --cov --cov-append --cov-report=
[testenv:begin]
basepython = python3.6
skip_install = True
deps = coverage
commands = coverage erase
[testenv:end]
basepython = python3.6
skip_install = True
deps = coverage
commands=
coverage report
coverage html --directory=coverage_report