Skip to content

Commit

Permalink
fixups, I think
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Jan 13, 2025
1 parent ebda6c0 commit 1eab6a8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
22 changes: 20 additions & 2 deletions .github/actions/test_firedrake/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,33 @@ runs:
steps:
- name: Run tests (nprocs = ${{ inputs.nprocs }})
shell: bash
if: ${{ inputs.nprocs == 1 }}
run: |
. ../firedrake_venv/bin/activate
mpispawn -nU 12 -nW ${{ inputs.nprocs }} --propagate-errcodes pytest \
mpispawn -nU 12 -nW ${{ inputs.nprocs }} --propagate-errcodes \
pytest \
--splitting-algorithm least_duration \
--splits \$MPISPAWN_NUM_TASKS \
--group \$MPISPAWN_TASK_ID1 \
--timeout=1800 \
--timeout-method=thread \
-o faulthandler_timeout=1860 \
--junit-xml=firedrake${{ inputs.nprocs }}_\$MPISPAWN_TASK_ID1.xml \
-m "parallel[\$MPISPAWN_WORLD_SIZE] and not broken" \
-m "parallel[\$MPISPAWN_WORLD_SIZE] or not parallel" \
-v tests/firedrake
- name: Run tests (nprocs = ${{ inputs.nprocs }})
shell: bash
if: ${{ inputs.nprocs > 1 }}
run: |
. ../firedrake_venv/bin/activate
mpispawn -nU 12 -nW ${{ inputs.nprocs }} --propagate-errcodes \
pytest \
--splitting-algorithm least_duration \
--splits \$MPISPAWN_NUM_TASKS \
--group \$MPISPAWN_TASK_ID1 \
--timeout=1800 \
--timeout-method=thread \
-o faulthandler_timeout=1860 \
--junit-xml=firedrake${{ inputs.nprocs }}_\$MPISPAWN_TASK_ID1.xml \
-m parallel[\$MPISPAWN_WORLD_SIZE] \
-v tests/firedrake
1 change: 0 additions & 1 deletion tests/firedrake/regression/test_stress_elements.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ def mesh_hierarchy(request):
return mh


@pytest.mark.markif_fixture(pytest.mark.slow, stress_element="conforming")
def test_stress_displacement_convergence(stress_element, mesh_hierarchy):
mesh = mesh_hierarchy[0]
V = FunctionSpace(mesh, mesh.coordinates.ufl_element())
Expand Down

0 comments on commit 1eab6a8

Please sign in to comment.