Fix FormSum weights #621
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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.12 | |
- name: Install UFL | |
run: | | |
pip3 install . | |
- name: Clone tsfc | |
uses: actions/checkout@v4 | |
with: | |
path: ./tsfc | |
repository: firedrakeproject/tsfc | |
ref: master | |
- 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#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 |