Skip to content

Commit

Permalink
Try setting working directory in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Apr 25, 2024
1 parent 5887afe commit 51fe02f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,23 @@ jobs:
uses: actions/download-artifact@v4
with:
name: legacy_ompi
path: ./legacy
path: ./tests/legacy

- name: Download legacy data
uses: actions/download-artifact@v4
with:
name: legacy_checkpoint_ompi
path: ./legacy_checkpoint
path: ./tests/legacy_checkpoint

- name: Install package
run: python3 -m pip install .[test]

- name: Run tests
working-directory: ./tests
run: |
coverage run --rcfile=.coveragerc -m mpi4py -m pytest -xvs ./tests/
coverage run --rcfile=.coveragerc -m mpi4py -m pytest -xvs .
- name: Run tests in parallel
working-directory: ./tests
run: |
mpirun -n 4 coverage run --rcfile=.coveragerc -m mpi4py -m pytest -xvs ./tests/
mpirun -n 4 coverage run --rcfile=.coveragerc -m mpi4py -m pytest -xvs .

0 comments on commit 51fe02f

Please sign in to comment.