Skip to content

Commit 0948dbc

Browse files
committed
logging for diagnosing
1 parent 85d9202 commit 0948dbc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/pr-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,8 @@ jobs:
639639
TEST_FILES_SUFFIX: testvirtualenvs
640640
CI_PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
641641
CI_DISABLE_AUTO_SELECTION: 1
642+
DONT_PROMPT_WSL_INSTALL: 1
643+
SHELL: /bin/bash
642644
uses: GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
643645
with:
644646
run: npm run testSingleWorkspace:cover
@@ -647,6 +649,8 @@ jobs:
647649
env:
648650
CI_PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
649651
CI_DISABLE_AUTO_SELECTION: 1
652+
DONT_PROMPT_WSL_INSTALL: 1
653+
SHELL: /bin/bash
650654
uses: GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
651655
with:
652656
run: npm run testSingleWorkspace:cover

src/test/standardTest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ async function installPylanceExtension(vscodeExecutablePath: string) {
7777
async function start() {
7878
console.log('*'.repeat(100));
7979
console.log('Start Standard tests');
80+
console.log('Environment variables:');
81+
console.log(' SHELL:', process.env.SHELL);
82+
console.log(' DONT_PROMPT_WSL_INSTALL:', process.env.DONT_PROMPT_WSL_INSTALL);
83+
console.log(' HOME:', process.env.HOME);
84+
console.log(' USER:', process.env.USER);
85+
console.log(' DISPLAY:', process.env.DISPLAY);
86+
console.log(' DBUS_SESSION_BUS_ADDRESS:', process.env.DBUS_SESSION_BUS_ADDRESS);
8087
const channel = getChannel();
8188
console.log(`Using ${channel} build of VS Code.`);
8289
const vscodeExecutablePath = await downloadAndUnzipVSCode(channel);

0 commit comments

Comments
 (0)