diff --git a/.github/workflows/run-tutorials.yml b/.github/workflows/run-tutorials.yml index fff7625..6eed7a4 100644 --- a/.github/workflows/run-tutorials.yml +++ b/.github/workflows/run-tutorials.yml @@ -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