fix: run every pipeline step from the repo root

The in-process steps read platforms/, database.json and bios/ from the caller's directory while child steps ran at the root. pipeline.main now moves to the root once --output-dir is resolved, and the step 5 comparisons run from the root when called directly.
This commit is contained in:
Abdessamad Derraz committed 2026-11-24 00:20:03 +01:00
1 parent 9b2957fbe4
commit 6dd9eabcb8
6 files changed
+100 -8

No files matched your search

+2
View File
@@ -9,6 +9,7 @@ from core.paths import DB_FILE, EMULATORS_DIR, PLATFORMS_DIR
from model.profiles import reads_own_files
from orchestrate.compare import set_difference_lines
from orchestrate.labels import STEP_LABELS, step_title
from orchestrate.runner import at_repo_root
from orchestrate.narrowed import matrix_coverage
# The narrowings an emulator or system pack takes, compared by
@@ -37,6 +38,7 @@ def emulator_variants(profiles: list[dict], full: bool) -> list[tuple[str, dict]
return variants
@at_repo_root()
def check_emulator_packs(
emulators_dir: str = EMULATORS_DIR, platforms_dir: str = PLATFORMS_DIR,
db_path: str = DB_FILE, full: bool = False,