Skip to content

Commit 741fd40

Browse files
committed
Tweak github workflow
1 parent f5d5944 commit 741fd40

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ jobs:
3434
- name: Install
3535
run: |
3636
python -m pip install --user dist/pmesh*whl
37-
- name: Python unit tests
37+
- name: Build in place for tests
3838
run: |
3939
python setup.py build_ext --inplace
40+
- name: Non-MPI python unit tests #So that the MPI_XFAIL tests run
41+
run: |
42+
python -m pytest
43+
- name: Python unit tests w varying rank
44+
run: |
4045
mpirun -n 1 python -m pytest --with-mpi
4146
mpirun -n 2 python -m pytest --with-mpi
4247
mpirun -n 4 --oversubscribe python -m pytest --with-mpi

0 commit comments

Comments
 (0)