Skip to content

Commit

Permalink
testing, will only work on firedrake-mac1 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Nov 27, 2024
1 parent 876babc commit 43ee976
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,15 @@ jobs:
--venv-name firedrake_venv \
--disable-ssh \
|| (cat firedrake-install.log && /bin/false)
- name: Run smoke tests
# TODO: Merge https://github.com/firedrakeproject/pytest-mpi/pull/9
- name: (remove) install branch of pytest-mpi
run: |
. ../firedrake_venv/bin/activate
python -m pytest -v tests/regression/ \
-k "poisson_strong or stokes_mini or dg_advection" -m "not parallel"
- name: Run parallel smoke tests # ideally in the same step as above
python -m pip install git+https://github.com/firedrakeproject/pytest-mpi.git@connorjward/fix-macos
- name: Run smoke tests
run: |
. ../firedrake_venv/bin/activate
mpiexec -n 3 python -m pytest -v tests/regression/ \
-k "poisson_strong or stokes_mini or dg_advection" -m "parallel[3]"
python -m pytest -v tests/regression/ -k "poisson_strong or stokes_mini or dg_advection"
timeout-minutes: 30
- name: Post-run cleanup
if: ${{ always() }}
Expand Down

0 comments on commit 43ee976

Please sign in to comment.