-
-
Notifications
You must be signed in to change notification settings - Fork 64
47 lines (40 loc) · 1.18 KB
/
tsfc-tests.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
37
38
39
40
41
42
43
44
45
46
47
# This workflow will install tsfc and run its unit tests
name: tsfc integration
on:
pull_request:
branches:
- main
jobs:
tsfc-tests:
name: Run TSFC tests
runs-on: ubuntu-latest
env:
CC: gcc-10
CXX: g++-10
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install UFL
run: |
pip3 install .
- name: Clone tsfc
uses: actions/checkout@v4
with:
path: ./tsfc
repository: firedrakeproject/tsfc
ref: mscroggs/gdim
- name: Install tsfc
run: |
cd tsfc
pip install -r requirements-ext.txt
pip install git+https://github.com/coneoproject/COFFEE.git#egg=coffee
pip install git+https://github.com/firedrakeproject/fiat.git#egg=fenics-fiat
pip install git+https://github.com/FInAT/FInAT.git@mscroggs/gdim#egg=finat
pip install git+https://github.com/firedrakeproject/loopy.git#egg=loopy
pip install .[ci]
pip install pytest
- name: Run tsfc unit tests
run: python3 -m pytest tsfc/tests