Skip to content

Commit

Permalink
Install FEniCS using github action
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminRodenberg authored Jan 22, 2025
1 parent 88f4f35 commit 019390f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,18 @@ jobs:
test:
name: Run mock unit tests
runs-on: ubuntu-latest
container: benjaminrodenberg/fenics
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Update list of available packages for apt
- name: Add FEniCS PPA and update
run: |
apt update
- name: Install scipy (see https://github.com/precice/fenics-adapter/issues/189)
run: |
apt install -y python3-scipy
sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
- name: Install FEniCS and scipy (see https://github.com/precice/fenics-adapter/issues/189)
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: python3-scipy fenics
version: 1.0
- name: Install fake precice
run: |
mkdir -p precice
Expand Down

0 comments on commit 019390f

Please sign in to comment.