mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Update dist/index.js
This commit is contained in:
parent
e7733f494f
commit
15ec24088d
1 changed files with 1 additions and 1 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -392,7 +392,7 @@ class TestReporter {
|
|||
const summary = (0, get_report_1.getReport)(results, { listSuites, listTests, baseUrl, onlySummary });
|
||||
core.info('Creating annotations');
|
||||
const annotations = (0, get_annotations_1.getAnnotations)(results, this.maxAnnotations);
|
||||
const isFailed = results.some(tr => tr.result === 'failed');
|
||||
const isFailed = this.failOnError && results.some(tr => tr.result === 'failed');
|
||||
const conclusion = isFailed ? 'failure' : 'success';
|
||||
const icon = isFailed ? markdown_utils_1.Icon.fail : markdown_utils_1.Icon.success;
|
||||
core.info(`Updating check run conclusion (${conclusion}) and output`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue