From 9f2f9d895b2fe6678f49e394e4657f044e2aef2a Mon Sep 17 00:00:00 2001 From: tomasz-io Date: Thu, 5 Dec 2024 09:33:12 -0800 Subject: [PATCH] fix: linux test env --- .github/workflows/pr_checks.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_checks.yaml b/.github/workflows/pr_checks.yaml index 9d4828ac4..c5bb037ed 100644 --- a/.github/workflows/pr_checks.yaml +++ b/.github/workflows/pr_checks.yaml @@ -83,11 +83,15 @@ jobs: npx tsc --noEmit npm run lint - - name: Run VSCode e2e tests + - name: Install Xvfb for Linux and run e2e tests run: | + sudo apt-get install -y xvfb # Install Xvfb + Xvfb :99 & # Start Xvfb + export DISPLAY=:99 # Export the display number to the environment cd extensions/vscode npm run package npm run e2e:ci + if: matrix.os == 'ubuntu-latest' - name: core checks run: |