Skip to content

Commit

Permalink
CI: skip --generate-plots on windows due to random TCL install errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrivenaes committed Sep 9, 2024
1 parent 130e92a commit 1a02b1c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a02b1c

Please sign in to comment.