Fix tests fail under Ubuntu without X11 (GitHub Actions)

This commit is contained in:
mkpaz 2023-02-11 12:53:13 +04:00
parent bda80a6d06
commit e377ea6a84

@ -29,8 +29,14 @@ jobs:
- name: Build | Package styles
run: mvn clean install -B --file styles/pom.xml
- name: Build | Package other modules
- name: Build | Package other modules (Unix)
# some tests won't start without X11
run: xvfb-run mvn clean install -B -pl '!styles' --file pom.xml
if: matrix.os == 'ubuntu-latest'
- name: Build | Package other modules (Windows)
run: mvn clean install -B -pl '!styles' --file pom.xml
if: matrix.os == 'windows-latest'
- name: Build | List artifacts (Unix)
shell: sh