Skip to content

Commit 559672e

Browse files
Update github workflow with display
1 parent 6dc1a50 commit 559672e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/unittest.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ jobs:
1010
timeout-minutes: 10
1111

1212
steps:
13+
- name: Install xvfb
14+
run: sudo apt-get install -y xvfb
15+
16+
- name: Export Display
17+
run: export DISPLAY=':99.0'
18+
19+
- name: Setup xvfb
20+
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
21+
1322
- name: Check out repo
1423
uses: actions/checkout@v4
1524

0 commit comments

Comments
 (0)