forked from City-of-Helsinki/parkkihubi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (33 loc) · 753 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
[tox]
envlist = py{35,36,37,38},requirements,style
skipsdist = True
[testenv]
deps =
-rrequirements.txt
-rrequirements-test.txt
passenv = CI
setenv =
DEBUG=0
SECRET_KEY=topsecret123
commands =
pytest -ra -vvv --strict --doctest-modules \
{posargs:--cov=. --cov-report=term --cov-report=xml}
[testenv:requirements]
basepython = python3.5
deps =
-rrequirements-pip.txt
-rrequirements-prequ.txt
commands = prequ {posargs:check -v}
[testenv:style]
basepython = python3.5
deps = -rrequirements-style.txt
commands = flake8 {posargs:--enable=T}
[testenv:sanitizer]
basepython = python3.5
deps = -rrequirements.txt
commands = ./manage.py check_sanitizerconfig
[gh-actions]
python =
3.5: py35
3.6: py36
3.8: py38