Skip to content

Commit 6071e9d

Browse files
authored
Change coverage check to only warning on unit test failures (#4676)
1 parent 7d98d5f commit 6071e9d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ci/fireci/fireciplugins/coverage.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ def coverage(pull_request, log, metrics_service_url, access_token):
6060
uploader.post_report(test_report, metrics_service_url, access_token, 'coverage')
6161

6262
if process.returncode != 0:
63-
_logger.error(f'{process.args} failed with error code: {process.returncode}.')
64-
raise click.ClickException('Coverage test failed with above errors.')
63+
_logger.warning(f'{process.args} failed with error code: {process.returncode}.')
6564

6665

6766
def _parse_xml_reports():

0 commit comments

Comments
 (0)