Skip to content

Commit f2a8380

Browse files
committed
try adding display via xvfb
1 parent 264f6cc commit f2a8380

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ jobs:
1717
path: ~/.m2
1818
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
1919
restore-keys: ${{ runner.os }}-m2
20-
- run: mvn --batch-mode --update-snapshots clean package
20+
- run: |
21+
export DISPLAY=:99
22+
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
23+
mvn --batch-mode --update-snapshots clean package

0 commit comments

Comments
 (0)