Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &

- name: Remove stale VS Code test installation
shell: pwsh
run: Remove-Item -Recurse -Force .vscode-test -ErrorAction SilentlyContinue
working-directory: vscode-powershell

- name: Build, test and package
shell: pwsh
run: Invoke-Build -Configuration Release
Expand Down
3 changes: 3 additions & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export default defineConfig({
// main IPC socket path over the macOS 103-char AF_UNIX limit and fail
// with EINVAL. See microsoft/vscode#196543.
`--user-data-dir=${join(tmpdir(), "vscp")}`,
// Ubuntu's headless Xvfb runner has no usable GPU. Without this,
// Electron can leave the test process alive after the suite completes.
...(process.platform === "linux" ? ["--disable-gpu"] : []),
],
workspaceFolder: `test/${existsSync("C:\\powershell-7\\pwsh.exe") ? "OneBranch" : "TestEnvironment"}.code-workspace`,
mocha: {
Expand Down
Loading
Loading