Skip to content

Commit

Permalink
Merge pull request #2382 from devitocodes/pytest-bugfix
Browse files Browse the repository at this point in the history
CI: fix decoupler config to use correct python
  • Loading branch information
mloubout authored Jun 4, 2024
2 parents 32c2a2d + c15759b commit a85ef2e
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 a85ef2e

Please sign in to comment.