Skip to content

Commit 13cb157

Browse files
committed
Update workflows
1 parent 957e1cd commit 13cb157

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/build-publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ name: Build and publish
44
# Controls when the action will run.
55
on:
66
# Triggers the workflow on push or pull request events but only for the master branch
7-
push:
8-
branches: [dokken/jupyterbook]
7+
# push:
8+
# branches: [dokken/jupyterbook]
99

1010
# Allows you to run this workflow manually from the Actions tab
1111
workflow_dispatch:
@@ -17,7 +17,7 @@ on:
1717
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1818
jobs:
1919
# This workflow contains a single job called "build"
20-
build:
20+
build-publish:
2121
# The type of runner that the job will run on
2222
runs-on: ubuntu-latest
2323
container: dokken92/dolfinx_custom:10082022
@@ -40,6 +40,8 @@ jobs:
4040
export PETSC_ARCH=linux-gnu-complex-32
4141
export PYTHONPATH=/usr/local/dolfinx-complex/lib/python3.10/dist-packages:$PYTHONPATH
4242
export LD_LIBRARY_PATH=/usr/local/dolfinx-complex/lib:$LD_LIBRARY_PATH
43+
pip3 uninstall pyvista
44+
pip3 install pyvista --upgrade
4345
cd chapter1
4446
mpirun -n 2 python3 complex_mode.py
4547

.github/workflows/nightly.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ on:
1919

2020
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2121
jobs:
22-
# This workflow contains a single job called "build"
23-
test-against-master:
22+
test-nightly:
2423
# The type of runner that the job will run on
2524
runs-on: ubuntu-latest
2625
container: dolfinx/lab:nightly

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you have any comments, corrections or questions, please submit an issue in th
1010
## Contributing
1111
If you want to contribute to this tutorial, please make a fork of the repository, make your changes, and test that the CI passes. You can do this locally by downloading [act](https://github.com/nektos/act) and call
1212
```bash
13-
act -j test-against-master
13+
act -j test-nightly
1414
```
1515
Any code added to the tutorial should work in parallel.
1616

@@ -19,7 +19,7 @@ Alternatively, if you want to add a separate chapter, a Jupyter notebook can be
1919
# Docker images
2020
Docker images for this tutorial can be found at [Docker hub](https://hub.docker.com/repository/docker/dokken92/dolfinx_custom)
2121

22-
Additional requirements on top of the `dolfinx/lab` images can be found at [Dockerfile](docker/Dockerfile) and [requirements.txt](docker/requirements.txt)
22+
Additional requirements on top of the `dolfinx/lab:nightly` images can be found at [Dockerfile](docker/Dockerfile) and [requirements.txt](docker/requirements.txt)
2323

2424
##
2525
An image building DOLFINx, Basix, UFL and FFCx from source can be built using:

0 commit comments

Comments
 (0)