diff --git a/.github/workflows/unittest-mpich.yml b/.github/workflows/unittest-mpich.yml index 5268df86..2a5b988b 100644 --- a/.github/workflows/unittest-mpich.yml +++ b/.github/workflows/unittest-mpich.yml @@ -57,4 +57,4 @@ jobs: - name: Test shell: bash -l {0} timeout-minutes: 5 - run: for f in $(ls tests/test_*.py); do echo $f; python -m unittest $f; done + run: cd tests; python -m unittest discover . diff --git a/.github/workflows/unittest-openmpi.yml b/.github/workflows/unittest-openmpi.yml index 616e4d74..3d81e857 100644 --- a/.github/workflows/unittest-openmpi.yml +++ b/.github/workflows/unittest-openmpi.yml @@ -57,7 +57,7 @@ jobs: - name: Test shell: bash -l {0} timeout-minutes: 5 - run: for f in $(ls tests/test_*.py); do echo $f; python -m unittest $f; done + run: cd tests; python -m unittest discover . env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' diff --git a/.github/workflows/unittest-win.yml b/.github/workflows/unittest-win.yml index 6d196e9c..809d4f53 100644 --- a/.github/workflows/unittest-win.yml +++ b/.github/workflows/unittest-win.yml @@ -34,4 +34,4 @@ jobs: - name: Test shell: bash -l {0} timeout-minutes: 5 - run: for f in $(ls tests/test_*.py); do echo $f; python -m unittest $f; done + run: cd tests; python -m unittest discover .