mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 06:18:51 -06:00
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:
1 parent
9b2957fbe4
commit
6dd9eabcb8
6 files changed
+100
-8
No files matched your search
@@ -10,6 +10,7 @@ from typing import TYPE_CHECKING
|
||||
from core.paths import DB_FILE, EMULATORS_DIR, PLATFORMS_DIR
|
||||
from orchestrate.compare import comparison_inputs
|
||||
from orchestrate.labels import STEP_LABELS, step_title
|
||||
from orchestrate.runner import at_repo_root
|
||||
from packs.archive import is_pack_note
|
||||
|
||||
if TYPE_CHECKING:
|
||||
@@ -40,6 +41,7 @@ def split_differences(
|
||||
return lines
|
||||
|
||||
|
||||
@at_repo_root()
|
||||
def check_split_packs(
|
||||
emulators_dir: str = EMULATORS_DIR, platforms_dir: str = PLATFORMS_DIR,
|
||||
db_path: str = DB_FILE,
|
||||
|
||||
Reference in new issue
Block a user