From c75b0f48e5281fb57f96c4abf235c145d64a200d Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 10 Nov 2023 10:09:23 +0100 Subject: [PATCH 1/3] Update test_flux.py --- tests/test_flux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_flux.py b/tests/test_flux.py index 4d84511d..6359dc98 100644 --- a/tests/test_flux.py +++ b/tests/test_flux.py @@ -15,7 +15,7 @@ FluxPythonInterface, ) - skip_flux_test = False + skip_flux_test = "FLUX_URI" not in os.environ except ImportError: skip_flux_test = True From e08af4e309fba0c15371e5c372a73a3be8dbfa73 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 10 Nov 2023 10:13:01 +0100 Subject: [PATCH 2/3] Update unittest-flux.yml --- .github/workflows/unittest-flux.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/unittest-flux.yml b/.github/workflows/unittest-flux.yml index 4b990797..c5c3273b 100644 --- a/.github/workflows/unittest-flux.yml +++ b/.github/workflows/unittest-flux.yml @@ -47,13 +47,7 @@ jobs: - name: Test shell: bash -l {0} timeout-minutes: 5 - run: > - for f in $(ls tests/test_*.py); do - echo $f; - if [ $f != "tests/test_flux.py" ]; then - coverage run --omit pympipool/_version.py -m unittest $f; - fi - done + run: cd tests; coverage run --omit pympipool/_version.py -m unittest discover . env: OMPI_MCA_plm: 'isolated' OMPI_MCA_rmaps_base_oversubscribe: 'yes' From 4023a912aaf6fd08d13785f23efd9047ffd3a8c2 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Fri, 10 Nov 2023 10:17:07 +0100 Subject: [PATCH 3/3] Update test_flux.py --- tests/test_flux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_flux.py b/tests/test_flux.py index 6359dc98..c5313e0e 100644 --- a/tests/test_flux.py +++ b/tests/test_flux.py @@ -1,4 +1,5 @@ from concurrent.futures import Future +import os from queue import Queue import numpy as np