diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 32ea3e18..77c7f28c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,10 +40,6 @@ jobs: run: | ./.build_bingocpp.sh - - name: Test with just pytest - run: | - pytest tests --cov=bingo --cov-report=term-missing --cov-append - - name: Test with pytest run: | tests/.run_tests.sh diff --git a/tests/.run_tests.sh b/tests/.run_tests.sh index 3f9a9d1f..98f61f08 100755 --- a/tests/.run_tests.sh +++ b/tests/.run_tests.sh @@ -1,9 +1,11 @@ #!/usr/bin/env bash set -e - +echo "Finding MPI install" MPI_EXEC=$(python -c "import mpi4py;import os;filename = next(iter(mpi4py.get_config().items()))[1];print(os.path.dirname(filename)+'/mpiexec');") +echo $MPI_EXEC RUN_MODE=${1-"coverage"} +echo $RUN_MODE echo "Running tests in $RUN_MODE mode"