@@ -30,16 +30,12 @@ jobs:
3030 - name : Create venv
3131 run : |
3232 ./make-venv.sh
33- - name : Create venv for solid-fenics
34- run : |
35- cd solid-fenics
36- python3 -m venv --system-site-packages .venv
37- . .venv/bin/activate
38- pip install -r requirements.txt
3933 - name : Activate main venv # see https://stackoverflow.com/a/74669486
4034 run : |
4135 . .venv/bin/activate
4236 echo PATH=$PATH >> $GITHUB_ENV
37+ - name : Try jinja2
38+ run : python3 -c "import jinja2"
4339 - name : Activate OpenFOAM # From https://github.com/gerlero/setup-openfoam/blob/68e0bf96c7f2aac1a100291a5d61fff934a472a8/action.yml#L54-L69
4440 run : |
4541 old_path="$PATH"
@@ -56,25 +52,17 @@ jobs:
5652 echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> "$GITHUB_ENV"
5753
5854 echo "${PATH/%:$old_path}" >> "$GITHUB_PATH"
59- - name : Run tutorial
60- run : |
61- . /root/.bashrc
62- python3 doConvergenceStudy.py precice-config-template.xml --silent --executor Github ${{matrix.experiment.args}}
63- - name : Store logs
64- if : always()
65- uses : actions/upload-artifact@v4
66- with :
67- name : logs ${{ matrix.experiment.name }}
68- path : |
69- perpendicular-flap/fluid-openfoam/stdout-Fluid.log
70- perpendicular-flap/solid-fenics/stdout-Solid.log
71- - name : Store results
72- uses : actions/upload-artifact@v4
55+ - name : Setup upterm session
56+ uses : lhotari/action-upterm@v1
7357 with :
74- name : perpendicular-flap ${{ matrix.experiment.name }}
75- path : |
76- # working directory is ignored by actions/upload-artifact
77- ./perpendicular-flap/studies
58+ # # limits ssh access and adds the ssh public key for the user which triggered the workflow
59+ limit-access-to-actor : true
60+ # # limits ssh access and adds the ssh public keys of the listed GitHub users
61+ limit-access-to-users : benjaminrodenberg
62+ # - name: Try blockMesh
63+ # run: blockMesh
64+ # - name: Try jinja2
65+ # run: python3 -c "import jinja2"
7866 merge :
7967 runs-on : ubuntu-latest
8068 needs : run_experiments
0 commit comments