From aa0c79d73b7151a8776cb882c5eea2e50f437d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Jan=C3=9Fen?= Date: Tue, 4 Feb 2025 06:36:53 +0100 Subject: [PATCH] [minor] Rename test environment variable Change PYMPIPOOL_PMIX to EXECUTORLIB_PMIX --- .github/workflows/unittest-flux-openmpi.yml | 2 +- tests/test_cache_executor_pysqa_flux.py | 2 +- tests/test_executor_backend_flux.py | 2 +- tests/test_flux_executor.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unittest-flux-openmpi.yml b/.github/workflows/unittest-flux-openmpi.yml index 1cb61314..7da1cf40 100644 --- a/.github/workflows/unittest-flux-openmpi.yml +++ b/.github/workflows/unittest-flux-openmpi.yml @@ -37,7 +37,7 @@ jobs: coverage run -a --omit="executorlib/_version.py,tests/*" -m unittest tests/test_flux_executor.py tests/test_executor_backend_flux.py tests/test_cache_executor_pysqa_flux.py tests/test_plot_dependency_flux.py; coverage xml env: - PYMPIPOOL_PMIX: "pmix" + EXECUTORLIB_PMIX: "pmix" TMPDIR: "/tmp" # required by MacOs https://github.com/open-mpi/ompi/issues/7393 - name: Coveralls uses: coverallsapp/github-action@v2 diff --git a/tests/test_cache_executor_pysqa_flux.py b/tests/test_cache_executor_pysqa_flux.py index 4a35c488..73deb661 100644 --- a/tests/test_cache_executor_pysqa_flux.py +++ b/tests/test_cache_executor_pysqa_flux.py @@ -10,7 +10,7 @@ import flux.job skip_flux_test = "FLUX_URI" not in os.environ - pmi = os.environ.get("PYMPIPOOL_PMIX", None) + pmi = os.environ.get("EXECUTORLIB_PMIX", None) except ImportError: skip_flux_test = True diff --git a/tests/test_executor_backend_flux.py b/tests/test_executor_backend_flux.py index c11fcb3e..0c7c7ce8 100644 --- a/tests/test_executor_backend_flux.py +++ b/tests/test_executor_backend_flux.py @@ -11,7 +11,7 @@ from executorlib.interactive.flux import FluxPythonSpawner skip_flux_test = "FLUX_URI" not in os.environ - pmi = os.environ.get("PYMPIPOOL_PMIX", None) + pmi = os.environ.get("EXECUTORLIB_PMIX", None) except ImportError: skip_flux_test = True diff --git a/tests/test_flux_executor.py b/tests/test_flux_executor.py index 3d32911b..90475fbf 100644 --- a/tests/test_flux_executor.py +++ b/tests/test_flux_executor.py @@ -15,7 +15,7 @@ from executorlib.interactive.flux import FluxPythonSpawner skip_flux_test = "FLUX_URI" not in os.environ - pmi = os.environ.get("PYMPIPOOL_PMIX", None) + pmi = os.environ.get("EXECUTORLIB_PMIX", None) except ImportError: skip_flux_test = True