diff --git a/.github/actions/specs-report/src/junit-handler.ts b/.github/actions/specs-report/src/junit-handler.ts index bd3070e..f515c17 100644 --- a/.github/actions/specs-report/src/junit-handler.ts +++ b/.github/actions/specs-report/src/junit-handler.ts @@ -1,3 +1,4 @@ +import * as core from '@actions/core' import * as junit2json from 'junit2json' import { readFile } from './files' @@ -15,6 +16,7 @@ export const parseJunitTestCases = async ( const junitTestCases: TestCase[] = [] for (const file of reportFiles) { const fileContent = readFile(file) + core.debug(`Parsing JUnit XML file: ${file}\n${fileContent}\n\n---`) const junit = await junit2json.parse(fileContent) if (!junit) { diff --git a/.github/actions/specs-report/src/test-vectors.ts b/.github/actions/specs-report/src/test-vectors.ts index a66ed25..14ad903 100644 --- a/.github/actions/specs-report/src/test-vectors.ts +++ b/.github/actions/specs-report/src/test-vectors.ts @@ -69,7 +69,7 @@ export const buildTestVectorReport = async ( testVectorReport.totalJunitTestCases = totalJunitTestCases testVectorReport.specTestCases = totalSpecTestCases core.info( - `JUnit test cases parsed!${JSON.stringify( + `JUnit test cases parsed!\n${JSON.stringify( { totalJunitTestCases, totalSpecTestCases }, null, 2