Test tutorial against DOLFINx #695
This file contains 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: Test tutorial against DOLFINx nightly build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: | |
- main | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
schedule: | |
- cron: "* 9 * * 1" | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
test-nightly: | |
runs-on: ubuntu-22.04 | |
container: dolfinx/lab:nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
pip3 install jupyter-book | |
- name: flake8 checks | |
run: | | |
pip3 install flake8-nb==0.4.0 | |
flake8-nb *.ipynb | |
- name: Test building the book | |
run: | |
PYVISTA_JUPYTER_BACKEND=static PYVISTA_OFF_SCREEN=false jupyter-book build . --all |