Fix panic in tests

Hopefully
This commit is contained in:
Josh Deprez 2021-11-03 15:49:12 +11:00 committed by GitHub
parent cebee212f1
commit 42030d348a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,12 +10,17 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
DISPLAY: ':99.0'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install xorg-dev - name: Install xorg-dev
run: sudo apt install xorg-dev run: sudo apt install xorg-dev
- name: Xvfb
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with: