Skip to content

Commit 5b09177

Browse files
committed
[red] Cover bounded Android emulator storage
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent 3d73d48 commit 5b09177

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎tests/publication/test_ci_contract.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ def test_pixel_goldens_run_on_pinned_macos(self) -> None:
6060
f"every testWidgets call in {relative} must carry the golden tag",
6161
)
6262

63+
def test_android_avd_uses_bounded_storage(self) -> None:
64+
workflow = (REPO_ROOT / ".github" / "workflows" / "ci.yml").read_text(
65+
encoding="utf-8"
66+
)
67+
android_start = workflow.index(" android-webview:")
68+
build_start = workflow.index("\n build:", android_start)
69+
android = workflow[android_start:build_start]
70+
71+
self.assertIn("'disk.dataPartition.size=2048M'", android)
72+
6373
def test_workflow_has_no_adjacent_duplicate_shell_key(self) -> None:
6474
workflow = (REPO_ROOT / ".github" / "workflows" / "ci.yml").read_text(
6575
encoding="utf-8"

0 commit comments

Comments
 (0)