From 4d7bef181774725dd61ce6306288b87209a9536f Mon Sep 17 00:00:00 2001 From: daywalker90 Date: Fri, 9 Feb 2024 12:24:30 +0100 Subject: [PATCH] add TEST_DIR env to pass to setup.sh to gain access to the test directory with the python environment --- .ci/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/test.py b/.ci/test.py index 3e5e9d837..eabf9ae79 100644 --- a/.ci/test.py +++ b/.ci/test.py @@ -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)