From 1a02b1c3571ed2cf4ba151fdbbf760b3d1e43b01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20C=2E=20Riven=C3=A6s?= Date: Mon, 9 Sep 2024 08:25:46 +0200 Subject: [PATCH] CI: skip --generate-plots on windows due to random TCL install errors --- .github/workflows/test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35166b4c6..64fc3d884 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,12 +52,14 @@ jobs: - name: Setup testdata uses: "./.github/actions/setup_testdata" - - name: Set matplotlib backend to avoid potential issues with TCL/TK installation - run: echo "MPLBACKEND=Agg" >> $GITHUB_ENV - - - name: Run tests + - name: Run tests (Linux/macOS) + if: ${{ matrix.os != 'windows-latest' }} run: pytest -n 4 tests --disable-warnings --generate-plots + - name: Run tests (Windows, skip plotting due to random TCL/TK issues) + if: ${{ matrix.os == 'windows-latest' }} + run: pytest -n 4 tests --disable-warnings + hypothesis: runs-on: ubuntu-latest timeout-minutes: 15