32
32
uses : ./.github/actions/install-dependencies
33
33
34
34
- name : Install requirements
35
- run : python3 -m pip install --no-cache-dir --no-binary=h5py . --upgrade
35
+ run : |
36
+ python3 -m pip install --break-system-packages -U pip setuptools pkgconfig
37
+ python3 -m pip install --no-build-isolation --break-system-packages --no-cache-dir --no-binary=h5py . --upgrade
36
38
37
39
- name : Test building the book
38
40
run : PYVISTA_OFF_SCREEN=false jupyter-book build -W .
@@ -42,30 +44,30 @@ jobs:
42
44
run : |
43
45
export PKG_CONFIG_PATH=/usr/local/dolfinx-complex/lib/pkgconfig:$PKG_CONFIG_PATH
44
46
export PETSC_ARCH=linux-gnu-complex128-32
45
- export PYTHONPATH=/usr/local/dolfinx-complex/lib/python3.10 /dist-packages:$PYTHONPATH
47
+ export PYTHONPATH=/usr/local/dolfinx-complex/lib/python3.12 /dist-packages:$PYTHONPATH
46
48
export LD_LIBRARY_PATH=/usr/local/dolfinx-complex/lib:$LD_LIBRARY_PATH
47
49
python3 complex_mode.py
48
50
mpirun -n 2 python3 complex_mode.py
49
51
50
52
- name : Test chapter 1
51
53
working-directory : chapter1
52
54
run : |
53
- python3 -c "from pyvista import start_xvfb; start_xvfb(0.1)"
54
- mpirun -n 2 python3 fundamentals_code.py
55
- mpirun -n 2 python3 nitsche.py
56
- mpirun -n 2 python3 membrane_code.py
55
+ python3 -c "from pyvista import start_xvfb; start_xvfb(0.1)"
56
+ mpirun -n 2 python3 fundamentals_code.py
57
+ mpirun -n 2 python3 nitsche.py
58
+ mpirun -n 2 python3 membrane_code.py
57
59
58
60
- name : Test chapter 2
59
61
working-directory : chapter2
60
- run : |
62
+ run : |
61
63
mpirun -n 2 python3 diffusion_code.py
62
64
mpirun -n 2 python3 heat_code.py
63
65
mpirun -n 2 python3 linearelasticity_code.py
64
66
mpirun -n 2 python3 hyperelasticity.py
65
67
mpirun -n 2 python3 nonlinpoisson_code.py
66
68
mpirun -n 2 python3 ns_code1.py
67
69
mpirun -n 2 python3 ns_code2.py
68
-
70
+
69
71
- name : Test chapter 3
70
72
working-directory : chapter3
71
73
run : |
75
77
mpirun -n 2 python3 robin_neumann_dirichlet.py
76
78
mpirun -n 2 python3 component_bc.py
77
79
mpirun -n 2 python3 em.py
78
-
80
+
79
81
- name : Test chapter 4
80
82
working-directory : chapter4
81
83
run : |
0 commit comments