File tree 3 files changed +60
-2
lines changed
3 files changed +60
-2
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
- source = dsp
2
+ parallel = true
3
+ source = dsp, tests
3
4
relative_files = True
4
5
5
6
[report]
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ zip_safe = True
19
19
include_package_data = True
20
20
21
21
[options.extras_require]
22
- dev = pytest
22
+ dev = tox
23
23
24
24
[options.package_data]
25
25
* = README.md
Original file line number Diff line number Diff line change
1
+ [tox]
2
+ min_version = 4.3.5
3
+
4
+ envlist =
5
+ coverage_erase
6
+ py{3.11, 3.10, 3.9, 3.8}
7
+ coverage_report
8
+ docs
9
+
10
+ skip_missing_interpreters = True
11
+ isolated_build = True
12
+
13
+
14
+ [testenv]
15
+ description = Test
16
+ package = wheel
17
+ wheel_build_env = build_wheel
18
+
19
+ depends =
20
+ py{3.11, 3.10, 3.9, 3.8}: coverage_erase
21
+ deps =
22
+ coverage
23
+ pandas
24
+ pytest
25
+ commands =
26
+ coverage run -m pytest
27
+
28
+
29
+ [testenv:docs]
30
+ description = Test documentation builds
31
+ skipsdist = true
32
+ skip_install = true
33
+ deps =
34
+ sphinx
35
+ cvxpy
36
+ commands = sphinx-build -aEnqb html docs/ build/docs
37
+
38
+
39
+ [testenv:coverage_erase]
40
+ description = Erase coverage files
41
+ skipsdist = true
42
+ skip_install = true
43
+ deps = coverage
44
+ commands = coverage erase
45
+
46
+
47
+ [testenv:coverage_report]
48
+ description = Report coverage
49
+ depends =
50
+ py{3.11, 3.10, 3.9, 3.8}
51
+ skipsdist = true
52
+ skip_install = true
53
+ deps = coverage
54
+ commands_pre =
55
+ coverage combine
56
+ coverage html --fail-under =0
57
+ commands = coverage report
You can’t perform that action at this time.
0 commit comments