Skip to content

Commit

Permalink
CI: install pyln-testing before running generic setup
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 authored and chrisguida committed Jan 6, 2025
1 parent 77866b8 commit 208e94b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .ci/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ def prepare_generic(p: Plugin, directory: Path, env: dict, workflow: str) -> boo
stderr=subprocess.STDOUT,
)

if workflow == "nightly":
install_dev_pyln_testing(pip_path)
else:
install_pyln_testing(pip_path)

if p.details["setup"].exists():
print(f"Running setup script from {p.details['setup']}")
subprocess.check_call(
Expand All @@ -147,11 +152,6 @@ def prepare_generic(p: Plugin, directory: Path, env: dict, workflow: str) -> boo
stderr=subprocess.STDOUT,
)

if workflow == "nightly":
install_dev_pyln_testing(pip_path)
else:
install_pyln_testing(pip_path)

subprocess.check_call([pip_path, "freeze"])
return True

Expand Down

0 comments on commit 208e94b

Please sign in to comment.