From 82b5b7cb8caa8e3b5b5e3c0e565d007832823a01 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 4 Aug 2023 19:06:41 -0600 Subject: [PATCH] Use test discover --- .github/workflows/unittest-mpich.yml | 2 +- .github/workflows/unittest-openmpi.yml | 2 +- .github/workflows/unittest-win.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/unittest-mpich.yml b/.github/workflows/unittest-mpich.yml index 5268df86..0189ead1 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: python -m unittest discover tests diff --git a/.github/workflows/unittest-openmpi.yml b/.github/workflows/unittest-openmpi.yml index 7a99f59d..178f7443 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: python -m unittest discover tests 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..5467292f 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: python -m unittest discover tests