fix: linux test env
This commit is contained in:
parent
e284cecd65
commit
9f2f9d895b
1 changed files with 5 additions and 1 deletions
6
.github/workflows/pr_checks.yaml
vendored
6
.github/workflows/pr_checks.yaml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue