Skip to content

Commit

Permalink
Enable more demos in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jun 10, 2024
1 parent b24b6ab commit 5cdc0a4
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/test-app.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test Nitsche solver
name: CI

on:
# Trigger tests on push
Expand Down Expand Up @@ -57,14 +57,6 @@ jobs:
pip install -r dolfinx/python/build-requirements.txt # TO REMOVE
pip -v install --check-build-dependencies --no-build-isolation dolfinx/python/
# uses: jorgensd/actions/[email protected]
# with:
# petsc_arch: ${{ env.PETSC_ARCH }}
# dolfinx: main
# ffcx: main
# ufl: main
# basix: main

- name: Install contact library (C++)
id: cpp-contact
run: |
Expand Down Expand Up @@ -132,13 +124,13 @@ jobs:
python demo_nitsche_rigid_surface_custom.py
python nitsche_euler_bernoulli.py
# - name: Run unbiased demos
# working-directory: ./python/demos
# run: |
# python demo_nitsche_unbiased.py --problem=1
# python demo_nitsche_unbiased.py --problem=2 --friction=0.1
# python demo_nitsche_unbiased.py --problem=3
# python demo_nitsche_unbiased.py --problem=3 --3D --friction=0.1 --coulomb
- name: Run unbiased demos
working-directory: ./python/demos
run: |
python demo_nitsche_unbiased.py --problem=1
python demo_nitsche_unbiased.py --problem=2 --friction=0.1
python demo_nitsche_unbiased.py --problem=3
python demo_nitsche_unbiased.py --problem=3 --3D --friction=0.1 --coulomb
- name: Run meshties demos
working-directory: ./python/demos
Expand Down Expand Up @@ -169,7 +161,6 @@ jobs:
- name: Run unbiased demos in parallel
working-directory: ./python/demos
# FIXME: --problem 1 fails in parallel (3 proc) on my machine
run: |
mpirun -np 2 python demo_nitsche_unbiased.py --problem=1
mpirun -np 2 python demo_nitsche_unbiased.py --problem=2 --friction=0.1
Expand Down

0 comments on commit 5cdc0a4

Please sign in to comment.