fix(tester): use remote artifact path for installs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user