Skip to content

Commit 1014828

Browse files
committed
Add graphical tests support
1 parent 7ef126d commit 1014828

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 xvfb
3438
- name: Build with Maven
35-
run: mvn -B -Djava.version=${{ matrix.java }} -Dopenjfx.version=${{ matrix.java }} compile test
39+
run: xvfb-run mvn -B -Djava.version=${{ matrix.java }} -Dopenjfx.version=${{ matrix.java }} test
3640
- name: Save coverage stats
3741
uses: codecov/codecov-action@v1
3842
with:

0 commit comments

Comments
 (0)