Skip to content

Commit 173c4f9

Browse files
committed
Add xvfb on linux.
1 parent a626c98 commit 173c4f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
gradle-home-cache-cleanup: true
3131
- name: git fetch origin main
3232
run: git fetch origin main
33+
- if: runner.os == 'Linux'
34+
run: |
35+
sudo apt-get install xvfb
36+
Xvfb :99 &
37+
export DISPLAY=:99
3338
- name: gradlew build
3439
run: ./gradlew build
3540
- name: junit result

0 commit comments

Comments
 (0)