Skip to content

Commit

Permalink
only use xvfb on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Meech committed Jul 8, 2024
1 parent 17bd983 commit 330c7f4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install xvfb

- name: Build with maven
- name: Build with maven and xvfb
if: matrix.os == 'ubuntu-latest'
run: xvfb-run --auto-servernum mvn -B package --file pom.xml

- name: Build with maven
if: matrix.os != 'ubuntu-latest'
run: mvn -B package --file pom.xml

0 comments on commit 330c7f4

Please sign in to comment.