Skip to content

Commit

Permalink
Collected all tests in a single file
Browse files Browse the repository at this point in the history
Signed-off-by: Umberto Zerbinati <zerbinati@maths.ox.ac.uk>
  • Loading branch information
Umberto Zerbinati committed Oct 28, 2023
1 parent 4cffdd7 commit b3d4221
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 38 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/FEniCSx.yml

This file was deleted.

32 changes: 29 additions & 3 deletions .github/workflows/NGSolve.yml → .github/workflows/ngsPETSc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .github/workflows/app.yaml
name: ngsPETSc NGsolve tests
name: ngsPETSc tests
on:
push:
branches-ignore:
Expand All @@ -9,10 +9,10 @@ on:
- cron: '30 10 7,14,21,28 * *'

jobs:
ngsolve_tests:
ngsolve:
runs-on: ubuntu-latest
container: urzerbinati/ngspetsc:latest
timeout-minutes: 20
timeout-minutes: 30

steps:
- name: Check out repository code
Expand Down Expand Up @@ -48,3 +48,29 @@ jobs:
mpirun --allow-run-as-root -n 2 pytest -v --with-mpi tests/test_pc.py
mpirun --allow-run-as-root -n 2 pytest -v --with-mpi tests/test_eps.py
mpirun --allow-run-as-root -n 2 pytest -v --with-mpi tests/test_snes.py
fenicsx:
runs-on: ubuntu-latest
container: dolfinx/dolfinx:latest
timeout-minutes: 30

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

- name: Install Netgen and ngsPETSc
run: |
pip3 install netgen-mesher \
&& pip3 install pylint \
&& export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.10/site-packages \
&& echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV \
&& NGSPETSC_NO_INSTALL_REQUIRED=ON pip install .
- name: Check formatting
run: |
make lint
make lint_test
- name: Run test suite in serial
run: |
pytest -v tests/test_fenicsx.py

0 comments on commit b3d4221

Please sign in to comment.