Skip to content

Commit

Permalink
Start xvfb on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
alygin committed Feb 6, 2021
1 parent 21f4ef7 commit a7b46cb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: '12.12'
- name: Start xvfb
if: matrix.os == 'ubuntu-20.04'
run: |
start-stop-daemon --start -b -x /usr/bin/Xvfb :1
- name: Install dependencies
run: npm install
- name: Build
Expand All @@ -24,4 +28,4 @@ jobs:
run: npm test --silent
- name: Test Linux
if: matrix.os == 'ubuntu-20.04'
run: xvfb-run --auto-servernum npm test --silent
run: npm test --silent

0 comments on commit a7b46cb

Please sign in to comment.