This commit is contained in:
Julian 2022-02-03 15:32:30 +01:00 committed by A. J. Kaptijn
parent 14f84d35d8
commit 4e0b3d36b7

View file

@ -122,7 +122,7 @@ class TestReporter {
const readStream = fs.createReadStream(a) const readStream = fs.createReadStream(a)
try { try {
const post = bent(this.resultsEndpoint, 'POST', null, 200); const post = bent(this.resultsEndpoint, 'POST', {}, 200);
await post(`TestResults?Secret=${this.resultsEndpointSecret}`, readStream); await post(`TestResults?Secret=${this.resultsEndpointSecret}`, readStream);
core.info(`Uploaded TRX files: ${a}`) core.info(`Uploaded TRX files: ${a}`)
} catch (ex){ } catch (ex){
@ -131,6 +131,11 @@ class TestReporter {
} }
for (const [reportName, files] of Object.entries(input)) { for (const [reportName, files] of Object.entries(input)) {
if(reportName === 'artifactFilePaths') {
continue;
}
try { try {
core.startGroup(`Creating test report ${reportName}`) core.startGroup(`Creating test report ${reportName}`)
const tr = await this.createReport(parser, reportName, files) const tr = await this.createReport(parser, reportName, files)