-
-
Notifications
You must be signed in to change notification settings - Fork 154
/
tox.ini
49 lines (44 loc) · 925 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
40
41
42
43
44
45
46
47
48
49
[tox]
skipsdist = True
usedevelop = True
minversion = 1.8
envlist =
flake8
py3{7,8,9,10,11}-dj32
py3{8,9,10,11}-dj{40,41,main}
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.10: py310, flake8
3.11: py311
[testenv]
basepython =
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
usedevelop = true
setenv =
DJANGO_SETTINGS_MODULE = dbtemplates.test_settings
deps =
-r requirements/tests.txt
dj32: Django<3.3
dj40: Django<4.1
dj41: Django<4.2
djmain: https://github.com/django/django/archive/main.tar.gz#egg=django
commands =
python --version
coverage run {envbindir}/django-admin test -v2 {posargs:dbtemplates}
coverage report
coverage xml
[testenv:flake8]
basepython = python3.10
commands = flake8 dbtemplates
deps = flake8
[flake8]
exclude=.tox
ignore=E501,E127,E128,E124