From 1f08286f5d5f1d663085e2be5f25cc76795724de Mon Sep 17 00:00:00 2001 From: Justin Buchanan Date: Mon, 23 Oct 2023 20:34:50 -0700 Subject: [PATCH] tests.yml: only apt-get install on linux --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa1c289..974f8c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,13 +15,15 @@ jobs: os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: + - name: Install Dependencies (Linux) + run: sudo apt-get update && sudo apt install -y libgl1-mesa-glx + if: matrix.os == 'ubuntu-latest' - uses: actions/checkout@v2 - name: Install CadQuery and pytest run: | pip3 install --upgrade pip pip3 install -e . pip3 install -e .[dev] - sudo apt-get update && sudo apt install -y libgl1-mesa-glx - name: Run tests run: | python3 -m pytest -v