-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
57 lines (46 loc) · 944 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
55
56
57
[tox]
min_version = 4.3.5
envlist =
coverage_erase
py{3.11, 3.10, 3.9, 3.8}
coverage_report
docs
skip_missing_interpreters = True
isolated_build = True
[testenv]
description = Test
package = wheel
wheel_build_env = build_wheel
depends =
py{3.11, 3.10, 3.9, 3.8}: coverage_erase
deps =
coverage
pandas
pytest
commands =
coverage run -m pytest
[testenv:docs]
description = Test documentation builds
skipsdist = true
skip_install = true
deps =
sphinx
cvxpy
commands = sphinx-build -aEnqb html docs/ build/docs
[testenv:coverage_erase]
description = Erase coverage files
skipsdist = true
skip_install = true
deps = coverage
commands = coverage erase
[testenv:coverage_report]
description = Report coverage
depends =
py{3.11, 3.10, 3.9, 3.8}
skipsdist = true
skip_install = true
deps = coverage
commands_pre =
coverage combine
coverage xml --fail-under=0
commands = coverage report