Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/run-tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,21 @@ jobs:
rm -rf /var/lib/apt/lists/*
- name: Check FEniCSx version
run: python3 -c "import dolfinx; print('FEniCS-X version '+dolfinx.__version__)"
- name: Install adapter
run: pip3 install --user .
- name: Create venv for Dirichlet participants and install adapter
run: |
cd tutorials/partitioned-heat-conduction/dirichlet-fenicsx
python3 -m venv .venv
. .venv/bin/activate
pip3 install ../../..
- name: Create venv for Neumann participants and install adapter
run: |
cd tutorials/partitioned-heat-conduction/neumann-fenicsx
python3 -m venv .venv
. .venv/bin/activate
pip3 install ../../..
- name: Remove fenicsxadapter from requirements to avoid overwriting develop version
run: |
sed -i '/fenicsxprecice/d' tutorials/partitioned-heat-conduction/solver-fenicsx/requirements.txt
# Tutorial is currently hosted under https://github.com/precice/fenicsx-adapter, should be moved to https://github.com/precice/tutorials when working. See https://github.com/precice/tutorials/issues/491
# - name: Get tutorials
# run: git clone -b develop https://github.com/precice/tutorials.git
Expand Down