mirror of
https://github.com/lightningd/plugins.git
synced 2026-08-19 13:18:19 +02:00
add TEST_DIR env to pass to setup.sh to gain access to the test directory with the python environment
This commit is contained in:
parent
23268522cd
commit
cb3145da29
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue