Skip to content

Commit e428954

Browse files
committed
Add graphical tests support
1 parent 05a98e1 commit e428954

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ jobs:
3131
with:
3232
java-version: ${{ matrix.java }}
3333
distribution: 'adopt'
34+
- name: Set-up test environment
35+
run: |
36+
sudo apt-get update
37+
sudo apt-get install -y xorg
3438
- name: Build with Maven
35-
run: mvn -B -Djava.version=${{ matrix.java }} -Dopenjfx.version=${{ matrix.java }} compile test
39+
run: xinit mvn -B -Djava.version=${{ matrix.java }} -Dopenjfx.version=${{ matrix.java }} test -- :0 vt$XDG_VTNR
3640
- name: Save coverage stats
3741
uses: codecov/codecov-action@v1
3842
with:

0 commit comments

Comments
 (0)