Add createCheck to display test results in GitHub UI

pull/97/head
David Finol 2021-02-22 18:39:02 -06:00
parent 9c367e2327
commit 8b433675c5
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -37,12 +37,14 @@ class ReportConverter {
if (innerSuite) { if (innerSuite) {
core.debug(`pushing suite ${innerSuite._attributes.id}`); core.debug(`pushing suite ${innerSuite._attributes.id}`);
result.push(...ReportConverter.convertSuite(innerSuite)); result.push(...ReportConverter.convertSuite(innerSuite));
core.debug(`suite ${innerSuite._attributes.id} pushed result to length ${result.length}`);
} }
const tests = suites['test-case']; const tests = suites['test-case'];
if (tests) { if (tests) {
core.debug(`tests length ${tests.length}`); core.debug(`tests length ${tests.length}`);
result.push(...ReportConverter.convertTests(suites._attributes.fullname, tests)); result.push(...ReportConverter.convertTests(suites._attributes.fullname, tests));
core.debug(`tests pushed result to length ${result.length}`);
} }
core.debug(`result length ${result.length}`); core.debug(`result length ${result.length}`);