From dc66fc1deb830d0a7853838af36b9a0a7a7bbb91 Mon Sep 17 00:00:00 2001 From: Jack Betteridge Date: Tue, 8 Oct 2024 17:14:17 +0100 Subject: [PATCH] Add firedrake-complex to test suite --- .github/workflows/ngsPETSc.yml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ngsPETSc.yml b/.github/workflows/ngsPETSc.yml index a55f1fb..ceb189c 100644 --- a/.github/workflows/ngsPETSc.yml +++ b/.github/workflows/ngsPETSc.yml @@ -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 @@ -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