From 9a89ffabe50adbee1328e679259faf2f8d8a5fde Mon Sep 17 00:00:00 2001 From: niravshah241 Date: Thu, 1 Aug 2024 17:26:57 +0100 Subject: [PATCH] Demos added in CI --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 850ba1e..0cff89c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,13 +30,15 @@ jobs: fail-fast: false matrix: procs: ["1", "2", "3"] + tuts: ["0_fundamental_deformation", "1_harmonic_mesh_deformation", "2_linear_elastic_mesh_deformation", "3_airfoil_displacement", "4_deformation_on_internal_boundary", "5_deformation_on_part_of_the_boundary", "6_free_form_deformation"] steps: - name: Checkout code uses: actions/checkout@v4 - name: Test dolfinx run: | python3 --version - cd demo/0_fundamental_deformation/mesh_data/ + cd demo/${{ matrix.tuts }}/mesh_data/ mpiexec -n 1 python3 mesh.py cd .. - mpiexec -n ${{ matrix.procs }} python3 0_fundamentals.py + mpiexec -n ${{ matrix.procs }} python3 * + cd ..