Skip to content

Commit

Permalink
Add diagnostic logging to resolve ci windows test run issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissimon-au committed Jan 12, 2024
1 parent f049612 commit c5529a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/vscode/contextive/test/runTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,15 @@ async function downloadVsCodeAndExtensions(version) {
version
});
console.log('cli, args', cli, args);

console.log("Installing csharp extension...");

cp.spawnSync(cli, [...args, '--install-extension', 'ms-dotnettools.csharp'], {
encoding: 'utf-8',
stdio: 'inherit',
});

console.log("...extensions installed.");
}

async function main() {
Expand All @@ -76,6 +81,8 @@ async function main() {
const launchArgs = getLaunchArgs();
const ipcOpts = getIpcEnv();

console.log("Running tests...");

// Download VS Code, unzip it and run the integration test
await runTests({
version,
Expand Down

0 comments on commit c5529a6

Please sign in to comment.