-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
52 lines (46 loc) · 888 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
[tox]
envlist = py{37,38,39,310}-{linux,macos,windows}
requires =
setuptools
[testenv]
deps =
six
pytest
commands =
pytest
[testenv:dev]
basepython = python3.10
deps =
six
pytest
pytest-cov
commands =
coverage erase
pasteurize -w "valvevmf"
pytest --cov=valvevmf --cov-report html
[testenv:coverage]
basepython = python3.10
deps =
six
pytest
pytest-cov
coverage-badge
commands =
coverage erase
pasteurize -w "valvevmf"
pytest --cov=valvevmf --cov-report html
coverage-badge -fo docs/source/coverage.svg
[testenv:docs]
basepython = python3.10
deps =
six
sphinx
pytest
pytest-cov
coverage-badge
commands =
coverage erase
pasteurize -w "valvevmf"
pytest --cov=valvevmf --cov-report html
coverage-badge -fo docs/source/coverage.svg
python -m sphinx docs/source/ docs/build/