Skip to content

Commit

Permalink
ci: Add nranks to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Oct 23, 2024
1 parent 211435d commit dd0dbaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
os: [ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
mpi: ['mpich', 'openmpi', 'intelmpi']
rank: ['2', '3', '4']
exclude:
- os: macos-latest
mpi: 'intelmpi'
Expand Down Expand Up @@ -52,4 +53,4 @@ jobs:
- name: Install pylops-mpi
run: pip install .
- name: Testing using pytest-mpi
run: mpiexec -n 2 pytest --with-mpi
run: mpiexec -n ${{ matrix.rank }} pytest --with-mpi

0 comments on commit dd0dbaa

Please sign in to comment.