-
-
Couldn't load subscription status.
- Fork 144
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
Fails if XML file other than NUnit format is output to artifactsPath.
How to reproduce
Test outputs a file with a ".xml" extension other than the NUnit format.
Expected behavior
Ignore non-test result XML files.
Additional details
unity-test-runner/src/model/results-check.ts
Lines 21 to 28 in 05a00ef
| await Promise.all( | |
| files.map(async filepath => { | |
| if (!filepath.endsWith('.xml')) return; | |
| core.info(`Processing file ${filepath}...`); | |
| const fileData = await ResultsParser.parseResults(path.join(artifactsPath, filepath)); | |
| core.info(fileData.summary); | |
| runs.push(fileData); | |
| }), |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working