aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-05-23 14:13:47 +0100
committerGitHub <[email protected]>2020-05-23 14:13:47 +0100
commit12ea4a2ba2e85ba39533ccc4197ea7204f7a0e17 (patch)
tree48c4a42a4ffa76f88ef8195d07544c88b93eb553
parentbddbe16d93ec74a689fcc352977acc9bf87260b0 (diff)
Try GabrielBB/xvfb to run vscode tests
-rw-r--r--.github/workflows/ci.yaml16
1 files changed, 5 insertions, 11 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 3ec6da1d1..af71a3d54 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -116,17 +116,11 @@ jobs:
116 - run: npm run lint 116 - run: npm run lint
117 working-directory: ./editors/code 117 working-directory: ./editors/code
118 118
119 - name: Start xvfb 119 - name: Run vscode tests
120 run: | 120 uses: GabrielBB/[email protected]
121 sudo apt-get install xvfb 121 with:
122 set -e 122 run: npm test
123 /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 & 123 working-directory: ./editors/code
124 disown -ar
125
126 - run: npm test
127 working-directory: ./editors/code
128 env:
129 DISPLAY: :10
130 124
131 - run: npm run package --scripts-prepend-node-path 125 - run: npm run package --scripts-prepend-node-path
132 working-directory: ./editors/code 126 working-directory: ./editors/code