Skip to content

Commit dd0dbaa

Browse files
committed
ci: Add nranks to matrix
1 parent 211435d commit dd0dbaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
os: [ubuntu-latest, macos-latest]
1717
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
1818
mpi: ['mpich', 'openmpi', 'intelmpi']
19+
rank: ['2', '3', '4']
1920
exclude:
2021
- os: macos-latest
2122
mpi: 'intelmpi'
@@ -52,4 +53,4 @@ jobs:
5253
- name: Install pylops-mpi
5354
run: pip install .
5455
- name: Testing using pytest-mpi
55-
run: mpiexec -n 2 pytest --with-mpi
56+
run: mpiexec -n ${{ matrix.rank }} pytest --with-mpi

0 commit comments

Comments
 (0)