diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index f5256ab2b23..bf5de14ec08 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -205,6 +205,13 @@ jobs: ctest -j4 --output-on-failure -R "ComputationsBook" # TODO: add Macaulay2/tests/engine when https://github.com/Macaulay2/M2/issues/1213 is fixed + - name: Run MPI test examples + if: matrix.build-system == 'cmake' && matrix.compiler == 'MPI' + run: | + mpirun -np 4 ./M2 --script ../../Macaulay2/packages/MPI/example-homotopies.m2 + mpirun -np 4 ./M2 --script ../../Macaulay2/packages/MPI/example2.m2 + mpirun -np 4 ./M2 --script ../../Macaulay2/packages/MPI/master-worker-MPI.m2 + - name: Run Tests using Autotools if: matrix.build-system == 'autotools' && runner.os == 'Linux' && matrix.compiler == 'default' run: |