-
-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (35 loc) · 1.29 KB
/
run-tutorials.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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:2.5.1
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies & FEniCSx
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 fenicsx
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 .
# 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
- name: Run tutorial
run: |
cd tutorials/partitioned-heat-conduction/fenicsx
./run.sh -d & ./run.sh -n