Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,15 @@ jobs:
shell: bash -l {0}
run: micromamba list

- name: Workaround OpenGL issue on Linux
if: runner.os == 'Linux'
shell: bash -l {0}
run: |
# referenced from https://github.com/pyvista/pyvista/blob/main/.github/workflows/vtk-pre-test.yml#L53
micromamba remove -y --force vtk
pip install --extra-index-url https://wheels.vtk.org trame vtk-osmesa

- name: Install fonts on Linux
if: runner.os == 'Linux'
run: |
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install ttf-mscorefonts-installer fonts-liberation
sudo rm -rf ~/.cache/matplotlib

- name: Install OpenGL on Windows
if: runner.os == 'Windows'
shell: pwsh
run: |
Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop"
$PSDefaultParameterValues['*:ErrorAction']='Stop'
powershell .github/install_opengl.ps1
- name: Set up headless display
uses: pyvista/setup-headless-display-action@v4

- name: Run tests
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# platforms
# Notebook : (platforms,), reason
skip_notebooks = {
"10_modpath_particle_tracking-demo.ipynb" : [("darwin", "windows"), "transient timeout"]
"10_modpath_particle_tracking-demo.ipynb" : [("darwin"), "transient timeout"]
}

def included_notebooks():
Expand Down
Loading