Skip to content

Commit

Permalink
Add firedrake-complex to test suite (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge authored Nov 3, 2024
1 parent 3cbff2c commit 14a66d7
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/ngsPETSc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install pytest
run: |
pip install pytest --break-system-packages
- name: Install Netgen and ngsPETSc
run: |
pip install netgen-mesher --break-system-packages
Expand Down Expand Up @@ -120,3 +120,29 @@ jobs:
pytest tests/regression/test_poisson_strong_bcs.py
pytest tests/multigrid/test_netgen_gmg.py
pytest tests/regression/test_netgen.py
firedrake-complex:
runs-on: ubuntu-latest
container:
image: firedrakeproject/firedrake-complex:latest
options: --user root
timeout-minutes: 50

steps:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install Netgen and ngsPETSc
run: |
. /home/firedrake/firedrake/bin/activate
pip install netgen-mesher
pip install xdist pytest-timeout ipympl
NGSPETSC_NO_INSTALL_REQUIRED=ON pip install .
- name: Run part of the Firedrake test suite
run: |
. /home/firedrake/firedrake/bin/activate
cd $VIRTUAL_ENV/src/firedrake
pytest tests/regression/test_poisson_strong_bcs.py
pytest tests/multigrid/test_netgen_gmg.py
pytest tests/regression/test_netgen.py

0 comments on commit 14a66d7

Please sign in to comment.