mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-25 08:54:20 +01: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:
committed by
mergify[bot]
parent
23268522cd
commit
cb3145da29
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user