From c15759b2d4c8526884f3961371a8ddb713ba78e9 Mon Sep 17 00:00:00 2001 From: mloubout Date: Tue, 4 Jun 2024 10:02:46 -0400 Subject: [PATCH] CI: fix decoupler config to use correct python --- conftest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index 63e855778a..81d143eb7a 100644 --- a/conftest.py +++ b/conftest.py @@ -201,7 +201,9 @@ def decoupler(item, m): env_vars['DEVITO_DECOUPLER_WORKERS'] = str(m) testname = get_testname(item) - call = ["pytest", "--no-summary", "-s", "--runxfail", testname] + + pyversion = sys.executable + call = [pyversion, "-m", "pytest", "--no-summary", "-s", "--runxfail", testname] return set_run_reset(env_vars, call)