From 539f478604eaef6b73c479b374d8b8c84d7c9d31 Mon Sep 17 00:00:00 2001 From: daywalker90 <8257956+daywalker90@users.noreply.github.com> Date: Tue, 9 Dec 2025 20:08:05 +0100 Subject: [PATCH] CI: fix framework detection regression --- .ci/test.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.ci/test.py b/.ci/test.py index 61b5fbeff..112a10e2b 100644 --- a/.ci/test.py +++ b/.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"]],