Skip to content

A fully functional Android app built entirely with Kotlin and Jetpack Compose

Use dedicated build step to package test apps before spawning the emulator

Simon Marquisa68fe38411c7
diff --git a/.github/workflows/AndroidCIWithGmd.yaml b/.github/workflows/AndroidCIWithGmd.yaml
index 1c1206ed4..9aa8f2ad9 100644
--- a/.github/workflows/AndroidCIWithGmd.yaml
+++ b/.github/workflows/AndroidCIWithGmd.yaml
@@ -24,6 +24,9 @@ jobs:
- name: Setup Android SDK
uses: android-actions/setup-android@v2
+ - name: Build AndroidTest apps
+ run: ./gradlew packageDemoDebug packageDemoDebugAndroidTest
+
- name: Run instrumented tests with GMD
run: ./gradlew cleanManagedDevices --unused-only &&
./gradlew ${{ matrix.device-config }}DemoDebugAndroidTest -Dorg.gradle.workers.max=1