Skip to content

Remove checks for FEniCS and python3 #294

Remove checks for FEniCS and python3

Remove checks for FEniCS and python3 #294

Workflow file for this run

name: Run preCICE Tutorials
on:
push:
branches:
- master
- develop
pull_request:
paths:
- '**'
jobs:
run_ht_simple:
name: Run HT, simple
runs-on: ubuntu-latest
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies & FEniCS
run: |
apt-get -qq update
apt-get -qq install software-properties-common python3-dev python3-pip git apt-utils
add-apt-repository -y ppa:fenics-packages/fenics
apt-get -qq install --no-install-recommends fenics
rm -rf /var/lib/apt/lists/*
- name: Install adapter
run: pip3 install --user .
- name: Fix broken FEniCS installation (see https://fenicsproject.discourse.group/t/installing-python-package-with-fenics-dependency-breaks-fenics-installation/4476)
run: pip3 uninstall -y fenics-ufl
- name: Get tutorials
run: git clone -b develop https://github.com/precice/tutorials.git
- name: Run tutorial
run: |
cd tutorials/partitioned-heat-conduction
cd dirichlet-fenics && ./run.sh & cd neumann-fenics && ./run.sh
run_ht_complex:
name: Run HT, complex
runs-on: ubuntu-latest
container: precice/precice:develop
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies & FEniCS
run: |
apt-get -qq update
apt-get -qq install software-properties-common python3-dev python3-pip git apt-utils
add-apt-repository -y ppa:fenics-packages/fenics
apt-get -qq install --no-install-recommends fenics
rm -rf /var/lib/apt/lists/*
- name: Install adapter
run: pip3 install --user .
- name: Fix broken FEniCS installation (see https://fenicsproject.discourse.group/t/installing-python-package-with-fenics-dependency-breaks-fenics-installation/4476)
run: pip3 uninstall -y fenics-ufl
- name: Get tutorials
run: git clone -b develop https://github.com/precice/tutorials.git
- name: Run tutorial
run: |
cd tutorials/partitioned-heat-conduction-complex
cd dirichlet-fenics && ./run.sh & cd neumann-fenics && ./run.sh