Fix panic in tests
Hopefully
This commit is contained in:
parent
cebee212f1
commit
42030d348a
1 changed files with 5 additions and 0 deletions
5
.github/workflows/go.yml
vendored
5
.github/workflows/go.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue