mirror of
https://github.com/lightningd/plugins.git
synced 2026-08-13 12:33:19 +02:00
CI: fix framework detection regression
This commit is contained in:
parent
5a5effe8bc
commit
46504ece62
1 changed files with 7 additions and 6 deletions
13
.ci/test.py
13
.ci/test.py
|
|
@ -213,13 +213,14 @@ def prepare_env_pip(p: Plugin, directory: Path, workflow: str) -> bool:
|
|||
pip_path = directory / "bin" / "pip3"
|
||||
|
||||
# Now install all the requirements
|
||||
print(f"Installing requirements from {p.details['requirements']}")
|
||||
subprocess.check_call(
|
||||
[pip_path, "install", *pip_opts, "-r", p.details["requirements"]],
|
||||
stderr=subprocess.STDOUT,
|
||||
)
|
||||
if "requirements" in p.details:
|
||||
print(f"Installing requirements from {p.details['requirements']}")
|
||||
subprocess.check_call(
|
||||
[pip_path, "install", *pip_opts, "-r", p.details["requirements"]],
|
||||
stderr=subprocess.STDOUT,
|
||||
)
|
||||
|
||||
if p.details["devrequirements"].exists():
|
||||
if "devrequirements" in p.details:
|
||||
print(f"Installing requirements from {p.details['devrequirements']}")
|
||||
subprocess.check_call(
|
||||
[pip_path, "install", *pip_opts, "-r", p.details["devrequirements"]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue