-
Notifications
You must be signed in to change notification settings - Fork 27
/
tox.ini
65 lines (57 loc) · 1.31 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
59
60
61
62
63
64
[tox]
envlist = py35, py36, py38, py310, py312, docs, lint, minimal_dep_version, no-extras
skip_missing_interpreters = True
skipsdist = True
[gh-actions]
python =
3.5: py35,minimal_dep_version
3.6: py36
3.8: py38,lint,docs, no-extras
3.10: py310
3.12: py312
[testenv]
usedevelop = True
deps =
-r{toxinidir}/requirements.tests.txt
{toxinidir}
commands = py.test -v --cov=talisker --no-success-flaky-report
extras =
gunicorn
raven
flask
django
celery
prometheus
pg
asyncio
setenv =
LC_ALL=C.UTF-8
LANG=C.UTF-8
[testenv:minimal_dep_version]
skip_install = True
usedevelop = False
deps =
-r{toxinidir}/tests/requirements.limbo.txt
-e{toxinidir}
basepython = python3.5
[testenv:no-extras]
basepython = python3.8
extras =
[testenv:lint]
skip_install = True
usedevelop = False
deps = -r{toxinidir}/requirements.lint.txt
commands = flake8 talisker tests
basepython = python3.8
[testenv:docs]
deps = -r{toxinidir}/requirements.docs.txt
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
basepython = python3.8
[testenv:packaging]
skip_install = True
usedevelop = False
deps = -r{toxinidir}/requirements.docs.txt
check-manifest
commands =
check-manifest -v
python setup.py check --metadata --restructuredtext --strict