-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
54 lines (47 loc) · 866 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist =
clean
py37_black
py36
py37
py38
coverage
isolated_build = True
[tox:.package]
basepython = python3
[testenv]
commands = poetry run coverage run -m pytest . --junit-xml=.tox/junit.{envname}.xml
install_command = pip install --pre {opts} {packages}
deps =
poetry
PyHamcrest
pytest
coverage
pytest-datafiles
pytest-freezegun
pytest-mock
requests-mock
click==6.6
requests==2.12.4
paramiko==2.0.0
setenv =
LC_ALL=C.UTF-8
LANG=C.UTF-8
depends =
{py36,py37,py38}: clean
coverage: py36,py37,py38
[testenv:py37_black]
deps =
black
commands =
black --check --diff vault_ssh_renew
[testenv:coverage]
deps = coverage
skip_install = true
commands =
coverage combine
coverage xml
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase