forked from cookiecutter/cookiecutter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
64 lines (60 loc) · 1.15 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 =
lint
py35
py36
py37
py38
pypy3
minversion = 3.14.2
requires =
# https://github.com/tox-dev/tox/issues/765
virtualenv >= 16.7.9
pip >= 19.3.1
[testenv]
passenv =
LC_ALL
LANG
HOME
GOOGLE_APPLICATION_CREDENTIALS
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
ARM_CLIENT_ID
ARM_CLIENT_SECRET
ARM_SUBSCRIPTION_ID
ARM_TENANT_ID
DIGITALOCEAN_TOKEN
commands =
pip install -e .
pytest --cov=nukikata {posargs:tests}
deps = -rtest_requirements.txt
skip_install = true
[testenv:lint]
commands =
python -m pre_commit run {posargs:--all}
deps = pre-commit>=1.20.0
skip_install = true
usedevelop = false
[testenv:cov-report]
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pytest --cov=nukikata --cov-report=term --cov-report=html --cov-report=xml
deps = -rtest_requirements.txt
skip_install = true
[testenv:docs]
passenv =
LC_ALL
LANG
HOME
commands =
pip install -e .
pip install -r test_requirements.txt
pip install -r docs/requirements.txt
make docs
whitelist_externals = make
deps = -rtest_requirements.txt
skip_install = true