Skip to content

Commit a7b46cb

Browse files
committed
Start xvfb on Ubuntu
1 parent 21f4ef7 commit a7b46cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313
- uses: actions/setup-node@v1
1414
with:
1515
node-version: '12.12'
16+
- name: Start xvfb
17+
if: matrix.os == 'ubuntu-20.04'
18+
run: |
19+
start-stop-daemon --start -b -x /usr/bin/Xvfb :1
1620
- name: Install dependencies
1721
run: npm install
1822
- name: Build
@@ -24,4 +28,4 @@ jobs:
2428
run: npm test --silent
2529
- name: Test Linux
2630
if: matrix.os == 'ubuntu-20.04'
27-
run: xvfb-run --auto-servernum npm test --silent
31+
run: npm test --silent

0 commit comments

Comments
 (0)