Skip to content

Commit

Permalink
Fix tests fail under Ubuntu without X11 (GitHub Actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkpaz committed Feb 11, 2023
1 parent bda80a6 commit e377ea6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e377ea6

Please sign in to comment.