Skip to content

StreamVault is a TV-first free IPTV player for Android TV built with Kotlin, Jetpack Compose, Room, Hilt, and Media3.

feat: add emulator boot timeout and update options for platform smoke workflow

David Nashash58714fd36ce5
diff --git a/.github/workflows/platform-smoke.yml b/.github/workflows/platform-smoke.yml
index a68966f6..735da8d4 100644
--- a/.github/workflows/platform-smoke.yml
+++ b/.github/workflows/platform-smoke.yml
@@ -70,7 +70,8 @@ jobs:
api-level: ${{ matrix.api-level }}
arch: ${{ matrix.arch }}
target: ${{ matrix.target }}
- emulator-options: -no-window -gpu ${{ matrix.gpu }} -no-snapshot -noaudio -no-boot-anim
+ emulator-boot-timeout: 900
+ emulator-options: -no-window -gpu ${{ matrix.gpu }} -no-snapshot -noaudio -no-boot-anim -no-metrics
profile: tv_1080p
script: |
chmod +x gradlew tools/run-platform-smoke.sh tools/wait-for-emulator.sh
diff --git a/tools/tests/platform-smoke-workflow-test.sh b/tools/tests/platform-smoke-workflow-test.sh
index 0812c752..037e6a10 100755
--- a/tools/tests/platform-smoke-workflow-test.sh
+++ b/tools/tests/platform-smoke-workflow-test.sh
@@ -30,5 +30,7 @@ grep -F 'app/build/outputs/androidTest-results/' "$smoke_workflow" >/dev/null
grep -F 'app/build/reports/androidTests/' "$smoke_workflow" >/dev/null
grep -F 'data/build/outputs/androidTest-results/' "$smoke_workflow" >/dev/null
grep -F 'data/build/reports/androidTests/' "$smoke_workflow" >/dev/null
+grep -F 'emulator-boot-timeout: 900' "$smoke_workflow" >/dev/null
+grep -F -- '-no-metrics' "$smoke_workflow" >/dev/null
printf 'platform smoke workflow test passed\n'