-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
tox.ini
58 lines (46 loc) · 1.04 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
[tox]
envlist =
#py310-dj{41,40,32}-linux
py310-dj{41}-linux
[testenv]
dj41: Django>=4.1,<4.2
dj40: Django>=4.0,<4.1
dj32: Django>=3.2,<4.0
passenv = PYTHONPATH,HOME,DISPLAY,OBJC_DISABLE_INITIALIZE_FORK_SAFETY
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONPATH = {toxinidir}/src:{env:PYTHONPATH:}
DJANGO_SETTINGS_MODULE = organilab.test_settings
COVERAGE_PROCESS_START={toxinidir}/.coveragerc
COVERAGE_FILE={toxinidir}/.coverage
COVERAGE_SRC={toxinidir}/
change_dir =
{toxinidir}/src
platform =
linux: linux
allowlist_externals=
coverage
rm
commands =
coverage run manage.py test --no-input --exclude-tag=selenium
coverage html -d ../htmlcov
coverage json
coverage report
commands_pre =
coverage erase
rm -rf ../htmlcov
commands_post =
rm -rf manage.egg-info
use_develop=True
[testenv:docs]
basepython = python3
usedevelop = false
allowlist_externals =
make
deps =
Sphinx
pyenchant
sphinxcontrib-spelling
changedir = docs
commands =
make spelling