Skip to content

Commit

Permalink
Restore full test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lehner committed May 12, 2024
1 parent 98e4135 commit 57ab0f4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/github-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ jobs:
cd gpt
export PYTHONPATH=/usr/local/lib/python${{ matrix.python-version}}/site-packages:/usr/local/lib64/python${{ matrix.python-version}}/site-packages
export WORK_DIR=$(mktemp -d)
#./tests/run "" "--mpi_split 1.1.1.1" # "" -> "coverage run"
./tests/run "coverage run" "--mpi_split 1.1.1.1"
- name: Run tests
if: matrix.mpi == 'openmpi'
Expand All @@ -411,24 +411,24 @@ jobs:
export PYTHONPATH=/usr/local/lib/python${{ matrix.python-version}}/site-packages:/usr/local/lib64/python${{ matrix.python-version}}/site-packages
export WORK_DIR=$(mktemp -d)
mpirun -np 2 -mca btl ^openib -bind-to core python tests/core/scalar.py --mpi 1.1.1.2
#./tests/run "mpirun -np 1 -mca btl ^openib" "--mpi_split 1.1.1.1"
#./tests/run "mpirun -np 2 -bind-to core -mca btl ^openib" "--mpi 1.1.1.2 --mpi 1.1.2 --mpi 2 --mpi_split 1.1.1.1 --shm 256"
./tests/run "mpirun -np 1 -mca btl ^openib coverage run" "--mpi_split 1.1.1.1"
./tests/run "mpirun -np 2 -bind-to core -mca btl ^openib coverage run" "--mpi 1.1.1.2 --mpi 1.1.2 --mpi 2 --mpi_split 1.1.1.1 --shm 256"
- name: Run tests
if: matrix.mpi == 'mpich'
run: |
export PYTHONPATH=/usr/local/lib/python${{ matrix.python-version}}/site-packages:/usr/local/lib64/python${{ matrix.python-version}}/site-packages
cd gpt
export WORK_DIR=$(mktemp -d)
#./tests/run "mpirun -np 1" "--mpi_split 1.1.1.1"
#./tests/run "mpirun -np 2 -bind-to core" "--mpi 1.1.1.2 --mpi 1.1.2 --mpi 2 --mpi_split 1.1.1.1 --shm 256"
./tests/run "mpirun -np 1 coverage run" "--mpi_split 1.1.1.1"
./tests/run "mpirun -np 2 -bind-to core coverage run" "--mpi 1.1.1.2 --mpi 1.1.2 --mpi 2 --mpi_split 1.1.1.1 --shm 256"
- name: Coverage report
run: |
cd gpt
#coverage combine
#coverage report -m # Print coverage report to screen
#coverage xml # Export coverage report as XML file, for codecov.io
coverage combine
coverage report -m # Print coverage report to screen
coverage xml # Export coverage report as XML file, for codecov.io
- name: Upload coverage to Codecov
env:
Expand Down

0 comments on commit 57ab0f4

Please sign in to comment.