We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a00ef commit 5605967Copy full SHA for 5605967
src/model/results-check.ts
@@ -22,9 +22,13 @@ const ResultsCheck = {
22
files.map(async filepath => {
23
if (!filepath.endsWith('.xml')) return;
24
core.info(`Processing file ${filepath}...`);
25
- const fileData = await ResultsParser.parseResults(path.join(artifactsPath, filepath));
26
- core.info(fileData.summary);
27
- runs.push(fileData);
+ try {
+ const fileData = await ResultsParser.parseResults(path.join(artifactsPath, filepath));
+ core.info(fileData.summary);
28
+ runs.push(fileData);
29
+ } catch (error: any) {
30
+ core.warning(`Failed to parse ${filepath}: ${error.message}`);
31
+ }
32
}),
33
);
34
0 commit comments