Skip to content

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

ci: delay emulator adb until boot completes

David Nashashbfa532e8ad3b
diff --git a/.github/workflows/platform-smoke.yml b/.github/workflows/platform-smoke.yml
index f3478855..245d3f8c 100644
--- a/.github/workflows/platform-smoke.yml
+++ b/.github/workflows/platform-smoke.yml
@@ -83,7 +83,7 @@ jobs:
target: ${{ matrix.target }}
emulator-boot-timeout: 900
disable-linux-hw-accel: false
- emulator-options: -no-window -gpu ${{ matrix.gpu }} -no-snapshot -noaudio -no-boot-anim -no-metrics
+ emulator-options: -no-window -gpu ${{ matrix.gpu }} -no-snapshot -noaudio -no-boot-anim -no-metrics -delay-adb
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 b7387183..9e094801 100755
--- a/tools/tests/platform-smoke-workflow-test.sh
+++ b/tools/tests/platform-smoke-workflow-test.sh
@@ -55,5 +55,6 @@ 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
+grep -F -- '-delay-adb' "$smoke_workflow" >/dev/null
printf 'platform smoke workflow test passed\n'