Skip to content

Commit

Permalink
adding debug statements to test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
gbomarito committed Sep 23, 2024
1 parent 7682040 commit 6cac9dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion tests/.run_tests.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 6cac9dc

Please sign in to comment.