Skip to content

Commit 278bc24

Browse files
authored
ci: use pyvista/setup-headless-display-action (#2574)
avoid longstanding opengl errors from vtk_pathlines_example.py notebook on windows
1 parent 520a7ab commit 278bc24

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/rtd.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ jobs:
136136
compiler: gcc
137137
version: 13
138138

139+
- name: Set up headless display
140+
uses: pyvista/setup-headless-display-action@v4
141+
139142
- name: Build MODFLOW 6
140143
working-directory: modflow6
141144
run: |
@@ -146,13 +149,7 @@ jobs:
146149
147150
- name: Run tutorial and example notebooks
148151
working-directory: flopy/autotest
149-
run: |
150-
filters=""
151-
if [[ ${{ runner.os }} == "Windows" ]]; then
152-
# TODO figure out VTK error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, and 1.00 ES
153-
filters="not vtk_pathlines"
154-
fi
155-
pytest -v -n auto test_example_notebooks.py -k "$filters"
152+
run: pytest -v -n auto test_example_notebooks.py
156153

157154
- name: Upload notebooks artifact for ReadtheDocs
158155
if: |

0 commit comments

Comments
 (0)