Skip to content

Commit 5cf3f81

Browse files
committed
The MPI command is not always called mpiexec anymore
It can be orterun, etc. Hence, we test that it is not <empty>.
1 parent 840c06d commit 5cf3f81

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/pip.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,11 @@ jobs:
106106
kh-samples core -i train_coclustering -e
107107
kh-samples sklearn -i khiops_classifier -e
108108
109-
# Test that the line containing "MPI command" also contains
110-
# an executable named "mpiexec"
111-
kh-status | grep "MPI command" | grep -wq "mpiexec"
109+
# Test that the line containing "MPI command" does not contain "<empty>"
110+
# (as given by kh-status in the absence of MPI support)
111+
# The MPI command is not always named mpiexec, but can be orterun etc
112+
# (as given by khiops_env)
113+
kh-status | grep "MPI command" | grep -vwq "<empty>"
112114
release:
113115
if: github.ref_type == 'tag'
114116
needs: [build, test]

0 commit comments

Comments
 (0)