Merge pull request #47 from ComputationalPhysiology/pre-commit-ci-upd… #88
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
| name: Test dolfinx example | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| dolfinx: | |
| name: Run dolfinx example | |
| runs-on: ubuntu-24.04 | |
| container: "ghcr.io/fenics/dolfinx/dolfinx:v0.9.0" | |
| env: | |
| DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install package | |
| run: | | |
| python3 -m pip install -r https://raw.githubusercontent.com/scientificcomputing/scifem/refs/heads/main/build-requirements.txt | |
| python3 -m pip install scifem --no-build-isolation | |
| python3 -m pip install .[demos] | |
| - name: Run tests | |
| run: python3 examples/regazzoni_dolfinx.py |