File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
[run]
12
12
13
+ parallel = True
14
+ concurrency = multiprocessing
15
+ branch = True
16
+
13
17
omit =
14
18
# Tracked
15
19
@@ -40,3 +44,27 @@ omit =
40
44
*/src/dist-packages/*
41
45
*/src/dist/*
42
46
*/src/sdist/*
47
+
48
+ [report]
49
+ # Regexes for lines to exclude from consideration
50
+ exclude_lines =
51
+ # Have to re-enable the standard pragma
52
+ pragma: no cover
53
+
54
+ # Don't complain about missing debug-only code:
55
+ def __repr__
56
+ if self\.debug
57
+
58
+ # Don't complain if tests don't hit defensive assertion code:
59
+ raise AssertionError
60
+ raise NotImplementedError
61
+
62
+ # Don't complain if non-runnable code isn't run:
63
+ if 0:
64
+ if False:
65
+ if __name__ == .__main__.:
66
+
67
+ ignore_errors = True
68
+
69
+ [html]
70
+ directory = htmlcov
Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ script:
43
43
- pip check || true
44
44
- pytest --version
45
45
# Create GMN template database (must be done in a single threaded run)
46
- # - pytest --collect-only
46
+ - pytest --collect-only
47
47
# Run tests in parallel, using as many threads as are supported by Travis
48
- - pytest --cov=. --cov-report=term --cov-report=xml
48
+ - pytest --cov=. --cov-config .coveragerc --cov-report=term --cov-report=xml -n auto
49
+ # --cov-config=tox.ini
50
+ # --cov-config=coverage.cfg --cov-report=term --cov-report=xml
49
51
# -n auto
50
52
after_success :
51
53
# Submit results to Coveralls.io.
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ paramiko==2.4.2
58
58
pathlib == 1.0.1
59
59
pathlib2 == 2.3.2
60
60
pbr == 4.3.0
61
- pkg-resources == 0.0.0
62
61
pkginfo == 1.4.2
63
62
pluggy == 0.7.1
64
63
posix-ipc == 1.0.4
You can’t perform that action at this time.
0 commit comments