-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
80 lines (69 loc) · 1.51 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[tox]
envlist = bdd-{py38,py37,py36},
; py38,
; py37,
; py36,
; type,
format,
lint,
docs
skip_missing_interpreters = True
minversion = 3.6
isolated_build = true
skipsdist = true
ignore_basepython_conflict = false
[testenv]
whitelist_externals =
poetry
make
passenv = HTTP_PROXY HTTPS_PROXY NO_PROXY
commands =
make deps-test
make test
[testenv:bdd]
whitelist_externals =
{[testenv]whitelist_externals}
bash
passenv = {[testenv]passenv}
commands =
make deps-bdd
make bdd
[testenv:bdd-py38]
whitelist_externals = {[testenv:bdd]whitelist_externals}
passenv = {[testenv:bdd]passenv}
commands = {[testenv:bdd]commands}
[testenv:bdd-py37]
whitelist_externals = {[testenv:bdd]whitelist_externals}
passenv = {[testenv:bdd]passenv}
commands = {[testenv:bdd]commands}
[testenv:bdd-py36]
whitelist_externals = {[testenv:bdd]whitelist_externals}
passenv = {[testenv:bdd]passenv}
commands = {[testenv:bdd]commands}
[testenv:format]
description = format check
commands =
make deps-format
make format-check
[testenv:lint]
commands =
make deps-lint
make lint
; DISABLED
;[testenv:type]
;description = type check
;commands =
; make deps-type
; make type
[testenv:docs]
description = gen docs
commands =
make deps-docs
poetry run sphinx-apidoc -o docs/ behave4git
make -C docs clean
make -C docs html
[testenv:docs-pdf]
description = gen docs in pdf
commands =
{[testenv:docs]commands}
make -C docs latexpdf