From 5d4cedf3092e7de321c904afee936b1313e13a13 Mon Sep 17 00:00:00 2001 From: Adrian Boguszewski Date: Thu, 21 Nov 2024 18:11:26 +0100 Subject: [PATCH] Update sanity-check.yml --- .github/workflows/sanity-check.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sanity-check.yml b/.github/workflows/sanity-check.yml index 2e7ea726..3a708b17 100644 --- a/.github/workflows/sanity-check.yml +++ b/.github/workflows/sanity-check.yml @@ -120,11 +120,10 @@ jobs: with: python-version: ${{ matrix.python }} - name: Install virtual display + if: runner.os == 'Linux' run: | - if [[ "${{ runner.os }}" == "Linux" ]]; then - sudo apt-get update - sudo apt-get install -y xvfb - fi + sudo apt-get update + sudo apt-get install -y xvfb - name: Install python dependencies run: | python -m pip install --upgrade pip