Skip to content

Commit 6caa08a

Browse files
committed
reinitialize display for tests
1 parent cb8e186 commit 6caa08a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
java-version: 21
5151
jdkFile: zulu21.46.19-ca-fx-jdk21.0.9-linux_x64.tar.gz
5252

53+
- name: start xvfb
54+
run:
55+
Xvfb :99 &
56+
- name: initialize the X11 DISPLAY variable
57+
run:
58+
export DISPLAY=:99
5359
- name: Run Unit Tests
5460
run: xvfb-run -s '-screen 0 1024x768x24' ./gradlew test
5561
- name: release

0 commit comments

Comments
 (0)