Skip to content

Commit 246d6c6

Browse files
committed
Use dedicated build step to package test apps before spawning the emulator
1 parent c8b7766 commit 246d6c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/Build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
- name: Setup Gradle
8383
uses: gradle/gradle-build-action@v2
8484

85+
- name: Build AndroidTest apps
86+
run: ./gradlew packageDemoDebug packageDemoDebugAndroidTest --daemon
87+
8588
- name: Run instrumentation tests
8689
uses: reactivecircus/android-emulator-runner@v2
8790
with:
@@ -90,7 +93,7 @@ jobs:
9093
disable-animations: true
9194
disk-size: 6000M
9295
heap-size: 600M
93-
script: ./gradlew connectedDemoDebugAndroidTest -x :benchmark:connectedDemoBenchmarkAndroidTest
96+
script: ./gradlew connectedDemoDebugAndroidTest -x :benchmark:connectedDemoBenchmarkAndroidTest --daemon
9497

9598
- name: Upload test reports
9699
if: always()

0 commit comments

Comments
 (0)