Skip to content

Commit

Permalink
Merge pull request #36 from scientificcomputing/dokken/update-env
Browse files Browse the repository at this point in the history
Update environment (and pin dolfinx to subrelease)
  • Loading branch information
jorgensd authored Jan 5, 2024
2 parents b4a5d9c + f27116d commit 2940ed3
Show file tree
Hide file tree
Showing 8 changed files with 487 additions and 261 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ jobs:
container: ubuntu:22.04
env:
PYVISTA_OFF_SCREEN: false
PYVISTA_JUPYTER_BACKEND: "panel"
PYVISTA_JUPYTER_BACKEND: "html"

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install common packages
uses: ./.github/actions/install-dependencies
Expand All @@ -36,10 +35,9 @@ jobs:
key: jupyter-cache-${{ hashFiles('environment.yml') }}

- name: Build the book
run:
jupyter-book build . -W
run: jupyter-book build . -W

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
# always upload artifact, which can include error messages
if: always()
with:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM condaforge/mambaforge

ENV DEBIAN_FRONTEND=noninteractive
ENV PYVISTA_JUPYTER_BACKEND=panel
ENV PYVISTA_JUPYTER_BACKEND=html
ENV PYVISTA_OFF_SCREEN=False

# Install ssh (missing dependency to run conda envs)
Expand Down
9 changes: 5 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ dependencies:
- cycler
- mpich
- ipyparallel>=8.6
- ipywidgets
- jupyter-book
- matplotlib-base
- mpi4py
- numpy
- pandas
- pyvista
- pyvista>=0.43.*
- autopep8
- fenics-dolfinx
- jupyterlab
- fenics-dolfinx==0.6.*
- petsc4py
- panel
- trame
- ipywidgets
Loading

0 comments on commit 2940ed3

Please sign in to comment.