Skip to content

Commit

Permalink
CI debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Aug 15, 2024
1 parent 020c311 commit c895812
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Don't immediately kill all if one Python version fails
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
env:
CC: mpicc
PETSC_DIR: ${{ github.workspace }}/petsc
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
working-directory: ${{ env.PETSC_DIR }}/src/binding/petsc4py
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel 'cython<3' numpy
python -m pip install --upgrade wheel cython numpy
python -m pip install --no-deps .
- name: Checkout PyOP2
Expand All @@ -83,6 +83,12 @@ jobs:
working-directory: PyOP2
run: make lint

- name: Check MPI
shell: bash
working-directory: PyOP2
run: mpiexec -n 4 python3 -c "from mpi4py import MPI; print(MPI.COMM_WORLD.rank, MPI.COMM_WORLD.size)"
timeout-minutes: 10

- name: Run tests
shell: bash
working-directory: PyOP2
Expand Down

0 comments on commit c895812

Please sign in to comment.