Skip to content

Commit 12ea4a2

Browse files
authored
Try GabrielBB/xvfb to run vscode tests
1 parent bddbe16 commit 12ea4a2

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,11 @@ jobs:
116116
- run: npm run lint
117117
working-directory: ./editors/code
118118

119-
- name: Start xvfb
120-
run: |
121-
sudo apt-get install xvfb
122-
set -e
123-
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
124-
disown -ar
125-
126-
- run: npm test
127-
working-directory: ./editors/code
128-
env:
129-
DISPLAY: :10
119+
- name: Run vscode tests
120+
uses: GabrielBB/[email protected]
121+
with:
122+
run: npm test
123+
working-directory: ./editors/code
130124

131125
- run: npm run package --scripts-prepend-node-path
132126
working-directory: ./editors/code

0 commit comments

Comments
 (0)