-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (49 loc) · 1.09 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
[tox]
[testenv:coverage]
deps =
bytesize>=0.02
coverage
hypothesis
networkx
pygraphviz>=1.3.1
pytest>=2.8
pyudev>=0.17
six
https://github.com/systemd/python-systemd/archive/master.zip
commands =
coverage --version
coverage run --timid --branch -m pytest tests/
coverage report -m --fail-under=70 --show-missing --include="{envsitepackagesdir}/pyblk/*"
coverage html --include="{envsitepackagesdir}/pyblk/*"
[testenv:lint]
deps =
bytesize>=0.02
hypothesis
networkx
pygraphviz>=1.3.1
pylint
pytest>=2.8
pyudev>=0.17
six
https://github.com/systemd/python-systemd/archive/master.zip
commands =
./check.py src/catdev
./check.py src/cmpdev
./check.py src/diffdev
./check.py src/journaldev
./check.py src/lsdev
./check.py src/pyblk
./check.py src/showdev
./check.py tests
[testenv:test]
deps =
bytesize>=0.02
hypothesis
networkx
pygraphviz>=1.3.1
pytest>=2.8
pyudev>=0.17
six
https://github.com/systemd/python-systemd/archive/master.zip
commands =
py.test -rsx