Removal of custom type system #1411
This file contains hidden or 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 test the UFL branch against the latest Firedrake container | |
| name: TSFC integration | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| tsfc-tests: | |
| name: Run TSFC tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: firedrakeproject/firedrake-vanilla-default:dev-main | |
| steps: | |
| - name: Uninstall existing UFL | |
| run: | | |
| python3 -m pip uninstall -y fenics-ufl | |
| - uses: actions/checkout@v6 | |
| with: | |
| # Download UFL into a subdirectory not called 'ufl' to make sure | |
| # that the package installs correctly. Otherwise 'import ufl' may | |
| # work even if the installation failed because it is a subdirectory. | |
| path: ufl-repo | |
| - name: Create virtual environment | |
| run: | | |
| python3 -m venv --system-site-packages venv-ufl | |
| - name: Install UFL | |
| run: | | |
| . venv-ufl/bin/activate | |
| pip install ./ufl-repo | |
| pip list | |
| - name: Run TSFC tests | |
| run: | | |
| . venv-ufl/bin/activate | |
| python -m pytest /opt/firedrake/tests/tsfc |