mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
Remove log group so logs are flattened
This commit is contained in:
parent
78ed680850
commit
633e7df869
2 changed files with 0 additions and 4 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -343,12 +343,10 @@ class TestReporter {
|
||||||
const input = yield inputProvider.load();
|
const input = yield inputProvider.load();
|
||||||
for (const [reportName, files] of Object.entries(input)) {
|
for (const [reportName, files] of Object.entries(input)) {
|
||||||
try {
|
try {
|
||||||
core.startGroup(`Creating test report ${reportName}`);
|
|
||||||
const tr = yield this.createReport(parser, reportName, files);
|
const tr = yield this.createReport(parser, reportName, files);
|
||||||
results.push(...tr);
|
results.push(...tr);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
core.endGroup();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const isFailed = results.some(tr => tr.result === 'failed');
|
const isFailed = results.some(tr => tr.result === 'failed');
|
||||||
|
|
|
||||||
|
|
@ -111,11 +111,9 @@ class TestReporter {
|
||||||
const input = await inputProvider.load()
|
const input = await inputProvider.load()
|
||||||
for (const [reportName, files] of Object.entries(input)) {
|
for (const [reportName, files] of Object.entries(input)) {
|
||||||
try {
|
try {
|
||||||
core.startGroup(`Creating test report ${reportName}`)
|
|
||||||
const tr = await this.createReport(parser, reportName, files)
|
const tr = await this.createReport(parser, reportName, files)
|
||||||
results.push(...tr)
|
results.push(...tr)
|
||||||
} finally {
|
} finally {
|
||||||
core.endGroup()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue