fix(tester): use remote artifact path for installs

This commit is contained in:
2026-10-16 15:33:12 +08:00
parent 841a2e0ae6
commit b94aa597ca
2 changed files with 42 additions and 4 deletions
+12
View File
@@ -116,6 +116,18 @@ matrix:
["android", "ios"],
)
def test_remote_artifact_path_comes_from_preflight_matrix(self):
with tempfile.TemporaryDirectory() as temp:
config = Path(temp) / "matrix.yaml"
config.write_text(
"matrix:\n - platform: ios\n artifact:\n remote_path: /Users/tester/app.ipa\n",
encoding="utf-8",
)
self.assertEqual(
bundle.preflight_remote_artifacts(config, ["ios"]),
{"ios": "/Users/tester/app.ipa"},
)
def test_new_worktree_each_run(self):
with tempfile.TemporaryDirectory() as temp:
repo, worktrees = Path(temp) / "repo", Path(temp) / "worktrees"