Skip to content

Commit

Permalink
add TEST_DIR env to pass to setup.sh to gain access to the test direc…
Browse files Browse the repository at this point in the history
…tory with the python environment
  • Loading branch information
daywalker90 committed Feb 9, 2024
1 parent 5fbec67 commit 1224c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def prepare_generic(p: Plugin, directory: Path):
if p.details['setup'].exists():
print(f"Running setup script from {p.details['setup']}")
subprocess.check_call(
['bash', p.details['setup']],
['bash', p.details['setup']], f'TEST_DIR={directory}'],
stderr=subprocess.STDOUT,
)
install_pyln_testing(pip_path)
Expand Down

0 comments on commit 1224c8d

Please sign in to comment.