Skip to content

Commit 5463b08

Browse files
authored
Merge pull request #155 from wpbonelli/ci
use pyvista/setup-headless-display-action
2 parents 290871e + 559a014 commit 5463b08

2 files changed

Lines changed: 3 additions & 17 deletions

File tree

.github/workflows/test.yaml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,29 +62,15 @@ jobs:
6262
shell: bash -l {0}
6363
run: micromamba list
6464

65-
- name: Workaround OpenGL issue on Linux
66-
if: runner.os == 'Linux'
67-
shell: bash -l {0}
68-
run: |
69-
# referenced from https://github.com/pyvista/pyvista/blob/main/.github/workflows/vtk-pre-test.yml#L53
70-
micromamba remove -y --force vtk
71-
pip install --extra-index-url https://wheels.vtk.org trame vtk-osmesa
72-
7365
- name: Install fonts on Linux
7466
if: runner.os == 'Linux'
7567
run: |
7668
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
7769
sudo apt-get install ttf-mscorefonts-installer fonts-liberation
7870
sudo rm -rf ~/.cache/matplotlib
7971
80-
- name: Install OpenGL on Windows
81-
if: runner.os == 'Windows'
82-
shell: pwsh
83-
run: |
84-
Set-StrictMode -Version Latest
85-
$ErrorActionPreference = "Stop"
86-
$PSDefaultParameterValues['*:ErrorAction']='Stop'
87-
powershell .github/install_opengl.ps1
72+
- name: Set up headless display
73+
uses: pyvista/setup-headless-display-action@v4
8874

8975
- name: Run tests
9076
shell: bash -l {0}

tests/test_notebooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# platforms
2424
# Notebook : (platforms,), reason
2525
skip_notebooks = {
26-
"10_modpath_particle_tracking-demo.ipynb" : [("darwin", "windows"), "transient timeout"]
26+
"10_modpath_particle_tracking-demo.ipynb" : [("darwin"), "transient timeout"]
2727
}
2828

2929
def included_notebooks():

0 commit comments

Comments
 (0)