Skip to content

Commit 36fb06d

Browse files
committed
debug
1 parent 60301b6 commit 36fb06d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testResultsSummary.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ export function getTestResults(): TestResultsData {
159159
const runnerTemp = process.env.RUNNER_TEMP || '';
160160
const resultsPath = path.join(runnerTemp, `matlabTestResults${runId}.json`);
161161

162+
console.log('GITHUB_RUN_ID:', runId);
163+
console.log('RUNNER_TEMP:', runnerTemp);
164+
console.log(`Looking for test results summary file at: ${resultsPath}`);
165+
162166
if (existsSync(resultsPath)) {
163167
try {
164168
const testArtifact = JSON.parse(readFileSync(resultsPath, 'utf8'));

src/testResultsSummary.unit.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ describe('Artifact Processing Tests', () => {
7171
function copyTestDataFile(osName: string) {
7272
const sourceFilePath = path.join(__dirname, 'test-data', 'testResultsArtifacts', 't1', osName, 'matlabTestResults.json');
7373
const destinationFilePath = path.join(process.env.RUNNER_TEMP!, 'matlabTestResults.json');
74+
console.log(`Copying test data from ${sourceFilePath} to ${destinationFilePath}`);
7475

7576
try {
7677
fs.copyFileSync(sourceFilePath, destinationFilePath);

0 commit comments

Comments
 (0)