File tree Expand file tree Collapse file tree 6 files changed +126
-84
lines changed
actions/install-dependencies Expand file tree Collapse file tree 6 files changed +126
-84
lines changed Original file line number Diff line number Diff line change 5252 run :
5353 mamba list -n mpi-tutorial
5454 shell : bash -el {0}
55+
56+
57+ - name : Install pyvista dependencies
58+ shell : bash -el {0}
59+ run : |
60+ apt-get update
61+ apt-get install -y libgl1-mesa-glx xvfb
62+
63+
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ defaults:
1717jobs :
1818 build-book :
1919 runs-on : ubuntu-latest
20+ container : ubuntu:22.04
21+ env :
22+ PYVISTA_OFF_SCREEN : false
23+ PYVISTA_JUPYTER_BACKEND : " panel"
2024
2125 steps :
2226
Original file line number Diff line number Diff line change @@ -6,13 +6,11 @@ author: Jørgen S. Dokken
66logo : logo.png
77
88# Cache execution of notebooks
9+
910# See https://jupyterbook.org/content/execute.html
1011execute :
1112 execute_notebooks : cache
1213 timeout : 1800
13- exclude_patterns :
14- # temporarily skip dolfinx rebuild so we can figure it out
15- - notebooks/dolfinx_MPI_tutorial*
1614
1715# Information about where the book exists on the web
1816repository :
Original file line number Diff line number Diff line change 11FROM condaforge/mambaforge
22
33ENV DEBIAN_FRONTEND=noninteractive
4+ ENV PYVISTA_JUPYTER_BACKEND=panel
5+ ENV PYVISTA_OFF_SCREEN=False
46
57# Install ssh (missing dependency to run conda envs)
68RUN apt-get update && \
7- apt-get install -y ssh build-essential
9+ apt-get install -y ssh build-essential libgl1-mesa-glx xvfb
810
911# Upgrade mamba
1012RUN mamba upgrade -y mamba
Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ dependencies:
1616 - autopep8
1717 - fenics-dolfinx
1818 - petsc4py
19+ - panel
You can’t perform that action at this time.
0 commit comments