File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 12
12
run-tests :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - run : sudo apt-get install cargo libgtk-3-dev libhidapi-dev libusb-1.0-0-dev
15
+ - run : sudo apt-get install cargo libgtk-3-dev libhidapi-dev libusb-1.0-0-dev xvfb
16
16
- uses : actions/checkout@v2
17
- - run : cargo test
17
+ - run : xvfb-run cargo test
18
18
19
19
linux-x86_64 :
20
20
runs-on : ubuntu-latest
@@ -32,11 +32,12 @@ jobs:
32
32
runs-on : ubuntu-latest
33
33
needs : linux-x86_64
34
34
steps :
35
+ - run : sudo apt-get install xvfb
35
36
- uses : actions/download-artifact@v2
36
37
with :
37
38
name : keyboard-configurator-linux-x86_64-${{ github.sha }}
38
39
- run : chmod +x keyboard-configurator-x86_64.AppImage
39
- - run : ./keyboard-configurator-x86_64.AppImage --help-gtk
40
+ - run : xvfb-run ./keyboard-configurator-x86_64.AppImage --help-gtk
40
41
41
42
windows-mingw32 :
42
43
runs-on : windows-latest
You can’t perform that action at this time.
0 commit comments