feat: complete production workflow migration

This commit is contained in:
2026-08-06 14:29:57 +08:00
parent 7f215e79c4
commit 8df5266abb
448 changed files with 56937 additions and 14619 deletions
+6 -6
View File
@@ -14,9 +14,9 @@ RUNTIME_ROOT = PROJECT_ROOT / "src" / "gyxx_flow" / "modules"
def _load_path_module(module: str, filename: str, monkeypatch, data_root: Path):
monkeypatch.setenv("GYXX_DATA_ROOT", str(data_root))
runtime_root = RUNTIME_ROOT / module / "runtime"
monkeypatch.setenv("GYXX_MODULE_ROOT", str(runtime_root))
path = runtime_root / filename
module_root = RUNTIME_ROOT / module
monkeypatch.setenv("GYXX_MODULE_ROOT", str(module_root))
path = module_root / filename
name = f"_gyxx_test_paths_{module}"
spec = importlib.util.spec_from_file_location(name, path)
assert spec and spec.loader
@@ -128,9 +128,9 @@ def test_blank_data_root_uses_the_project_var_default(
root_name: str,
) -> None:
monkeypatch.setenv("GYXX_DATA_ROOT", configured)
runtime_root = RUNTIME_ROOT / module / "runtime"
monkeypatch.setenv("GYXX_MODULE_ROOT", str(runtime_root))
path = runtime_root / filename
module_root = RUNTIME_ROOT / module
monkeypatch.setenv("GYXX_MODULE_ROOT", str(module_root))
path = module_root / filename
name = f"_gyxx_test_blank_paths_{module}"
spec = importlib.util.spec_from_file_location(name, path)
assert spec and spec.loader