Add createCheck to display test results in GitHub UI
parent
b4a7370c47
commit
c838b9cba9
File diff suppressed because one or more lines are too long
|
|
@ -18,7 +18,6 @@ class ResultsCheck {
|
||||||
core.info(`Processing file ${filepath}...`);
|
core.info(`Processing file ${filepath}...`);
|
||||||
const fileData = await ResultsCheck.parseReport(path.join(artifactsPath, filepath));
|
const fileData = await ResultsCheck.parseReport(path.join(artifactsPath, filepath));
|
||||||
core.info(fileData.summary);
|
core.info(fileData.summary);
|
||||||
core.info(fileData.suites.length);
|
|
||||||
runs.push(fileData);
|
runs.push(fileData);
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
@ -31,6 +30,7 @@ class ResultsCheck {
|
||||||
runSummary.skipped += suite.skipped;
|
runSummary.skipped += suite.skipped;
|
||||||
runSummary.failed += suite.failed;
|
runSummary.failed += suite.failed;
|
||||||
runSummary.duration += suite.duration;
|
runSummary.duration += suite.duration;
|
||||||
|
core.info(suite.suites.length);
|
||||||
suite.suites.forEach(s => {
|
suite.suites.forEach(s => {
|
||||||
runSummary.addTests(s.tests);
|
runSummary.addTests(s.tests);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue