Skip to content

Commit c090fd0

Browse files
committed
coverage report: use --ignore-errors
We currently appear to collect coverage from pip-install, where then the source is not available anymore. Ref: #3923 (comment)
1 parent 384eea4 commit c090fd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ after_success:
9797
pip install codecov
9898
coverage combine
9999
coverage xml
100-
coverage report -m
100+
coverage report -m --ignore-errors
101101
codecov --required -X gcov pycov search -f coverage.xml --flags ${TOXENV//-/ } linux
102102
103103
# Coveralls does not support merged reports.

scripts/upload-coverage.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if not defined PYTEST_NO_COVERAGE (
33
C:\Python36\Scripts\pip install codecov
44
C:\Python36\Scripts\coverage combine
55
C:\Python36\Scripts\coverage xml
6-
C:\Python36\Scripts\coverage report -m
6+
C:\Python36\Scripts\coverage report -m --ignore-errors
77
C:\Python36\Scripts\codecov --required -X gcov pycov search -f coverage.xml --flags %TOXENV:-= % windows
88
) else (
99
echo Skipping coverage upload, PYTEST_NO_COVERAGE is set

0 commit comments

Comments
 (0)