Skip to content

Commit e47a245

Browse files
committed
define mplbackend in tests to prevent tcl or tk errors with matplotlib
1 parent 2cd048c commit e47a245

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ jobs:
424424
pip install pytest
425425
426426
- name: Run tests for ${{ matrix.module }}
427+
env:
428+
MPLBACKEND: Agg
427429
run: |
428430
python -m pytest -c .github/workflows/pytest.ini mhkit/tests/${{ matrix.module }}/
429431

0 commit comments

Comments
 (0)