aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvsrs <[email protected]>2020-05-23 14:04:14 +0100
committerGitHub <[email protected]>2020-05-23 14:04:14 +0100
commitbddbe16d93ec74a689fcc352977acc9bf87260b0 (patch)
tree60ad729e2f4d0ffb6bebb053036df63427866bb3
parentca230627c630e3f7dcd55a26aadd161365d29628 (diff)
Start xvfb manually on ubuntu
-rw-r--r--.github/workflows/ci.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index bf56ac610..3ec6da1d1 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -97,7 +97,7 @@ jobs:
97 97
98 typescript: 98 typescript:
99 name: TypeScript 99 name: TypeScript
100 runs-on: windows-latest 100 runs-on: ubuntu-latest
101 steps: 101 steps:
102 - name: Checkout repository 102 - name: Checkout repository
103 uses: actions/checkout@v2 103 uses: actions/checkout@v2
@@ -116,8 +116,17 @@ 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
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
119 - run: npm test 126 - run: npm test
120 working-directory: ./editors/code 127 working-directory: ./editors/code
128 env:
129 DISPLAY: :10
121 130
122 - run: npm run package --scripts-prepend-node-path 131 - run: npm run package --scripts-prepend-node-path
123 working-directory: ./editors/code 132 working-directory: ./editors/code