From 17bd98349e6f0c2f25cf075cfacdaf1893d136f0 Mon Sep 17 00:00:00 2001 From: Kimberly Meechan <24316371+K-Meech@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:18:04 +0100 Subject: [PATCH] only install xvfb on ubuntu --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78b8c11..f5bc357 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,6 +58,8 @@ jobs: # - name: Install blosc # run: sudo apt install libblosc-dev - name: Install xvfb + if: matrix.os == 'ubuntu-latest' run: sudo apt-get install xvfb + - name: Build with maven run: xvfb-run --auto-servernum mvn -B package --file pom.xml