Add back missing LVPP loop. Reported by Marc Graham #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build workshop notes | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| workflow_call: | |
| env: | |
| # Directory that will be published on github pages | |
| PUBLISH_DIR: ./_build/html | |
| DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
| PYVISTA_OFF_SCREEN: false | |
| PYVISTA_JUPYTER_BACKEND: "html" | |
| LIBGL_ALWAYS_SOFTWARE: 1 | |
| jobs: | |
| build-docs: | |
| env: | |
| DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
| PYVISTA_JUPYTER_BACKEND: "html" | |
| runs-on: ubuntu-24.04 | |
| container: ghcr.io/fenics/dolfinx/dolfinx:v0.10.0 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install graphviz and pyvista deps | |
| run: | | |
| apt-get update | |
| apt-get install -y graphviz-dev libgl1-mesa-dev mesa-utils | |
| - name: Update pip | |
| run: python3 -m pip install --upgrade pip setuptools | |
| - name: Install dependencies | |
| run: python3 -m pip install -e ".[dev]" | |
| - name: Build docs | |
| run: jupyter book build . | |
| - name: Upload documentation as artifact | |
| uses: actions/upload-artifact@v5 | |
| if: always() | |
| with: | |
| name: documentation | |
| path: ${{ env.PUBLISH_DIR }} | |
| if-no-files-found: error |