@@ -34,7 +34,7 @@ describe("Artifact Processing Tests", () => {
3434
3535 copyTestDataFile ( osInfo . osName , runnerTemp , runId , actionName ) ;
3636
37- testResultsData = testResultsSummary . getTestResults ( runnerTemp , runId , actionName , workspace ) ;
37+ testResultsData = testResultsSummary . getTestResults ( runnerTemp , runId , workspace ) ;
3838 testResults = testResultsData . TestResults ;
3939 stats = testResultsData . Stats ;
4040 } ) ;
@@ -58,7 +58,7 @@ describe("Artifact Processing Tests", () => {
5858 osName ,
5959 "matlabTestResults.json" ,
6060 ) ;
61- const destinationFilePath = path . join ( runnerTemp , "matlabTestResults_ " + runId + "_" + actionName + ".json" ) ;
61+ const destinationFilePath = path . join ( runnerTemp , "matlabTestResults " + runId + ".json" ) ;
6262
6363 try {
6464 fs . copyFileSync ( sourceFilePath , destinationFilePath ) ;
@@ -363,7 +363,7 @@ describe("Error Handling Tests", () => {
363363 process . env . GITHUB_ACTION = "run-tests" ;
364364
365365 // Create a file with invalid JSON
366- const invalidJsonPath = path . join ( process . env . RUNNER_TEMP , "matlabTestResults_123_run-tests .json" ) ;
366+ const invalidJsonPath = path . join ( process . env . RUNNER_TEMP , "matlabTestResults123 .json" ) ;
367367 fs . writeFileSync ( invalidJsonPath , "{ invalid json content" ) ;
368368
369369 try {
@@ -413,7 +413,7 @@ describe("Error Handling Tests", () => {
413413 process . env . GITHUB_ACTION = "run-tests" ;
414414
415415 // Create a valid JSON file
416- const validJsonPath = path . join ( process . env . RUNNER_TEMP , "matlabTestResults_123_run-tests .json" ) ;
416+ const validJsonPath = path . join ( process . env . RUNNER_TEMP , "matlabTestResults123 .json" ) ;
417417 fs . writeFileSync ( validJsonPath , "[]" ) ; // Empty array - valid JSON
418418
419419 try {
0 commit comments