Skip to content

Commit b4a5d9c

Browse files
authored
Merge pull request #35 from scientificcomputing/hherlyng-patch-2
Resume building dolfin page on CI
2 parents 2da55a9 + 453abb8 commit b4a5d9c

File tree

6 files changed

+126
-84
lines changed

6 files changed

+126
-84
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
@@ -17,6 +17,10 @@ defaults:
1717
jobs:
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

_config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ author: Jørgen S. Dokken
66
logo: logo.png
77

88
# Cache execution of notebooks
9+
910
# See https://jupyterbook.org/content/execute.html
1011
execute:
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
1816
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)