Skip to content

Commit

Permalink
CI: fix decoupler config to use correct python
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Jun 4, 2024
1 parent 32c2a2d commit c15759b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c15759b

Please sign in to comment.