Skip to content

Commit 5edd000

Browse files
committed
libgl and panel dependencies added
1 parent 2da55a9 commit 5edd000

File tree

6 files changed

+128
-87
lines changed

6 files changed

+128
-87
lines changed

.github/actions/install-dependencies/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,12 @@ runs:
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+

.github/workflows/build_docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
build-book:
1919
runs-on: ubuntu-latest
2020

21+
env:
22+
PYVISTA_OFF_SCREEN: false
23+
PYVISTA_JUPYTER_BACKEND: "panel"
24+
2125
steps:
2226

2327
- uses: actions/checkout@v3

_config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ logo: logo.png
77

88
# Cache execution of notebooks
99
# See https://jupyterbook.org/content/execute.html
10-
execute:
11-
execute_notebooks: cache
12-
timeout: 1800
13-
exclude_patterns:
14-
# temporarily skip dolfinx rebuild so we can figure it out
15-
- notebooks/dolfinx_MPI_tutorial*
10+
#execute:
11+
#execute_notebooks: cache
12+
#timeout: 1800
1613

1714
# Information about where the book exists on the web
1815
repository:

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
FROM condaforge/mambaforge
22

33
ENV 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)
68
RUN 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
1012
RUN mamba upgrade -y mamba

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ dependencies:
1616
- autopep8
1717
- fenics-dolfinx
1818
- petsc4py
19+
- panel

0 commit comments

Comments
 (0)