fix: linux test env

This commit is contained in:
tomasz-io 2024-12-05 09:33:12 -08:00
parent e284cecd65
commit 9f2f9d895b

View file

@ -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: |