Skip to content

Commit 647b6f8

Browse files
authored
Merge pull request #570 from SimonMarquis/ci/androidTest
Improve `androidTest` step of `Build` action by pre-packaging apps before spawning the emulator
2 parents 825c329 + 69a2634 commit 647b6f8

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
@@ -89,6 +89,9 @@ jobs:
8989
- name: Setup Gradle
9090
uses: gradle/gradle-build-action@v2
9191

92+
- name: Build AndroidTest apps
93+
run: ./gradlew packageDemoDebug packageDemoDebugAndroidTest --daemon
94+
9295
- name: Run instrumentation tests
9396
uses: reactivecircus/android-emulator-runner@v2
9497
with:
@@ -97,7 +100,7 @@ jobs:
97100
disable-animations: true
98101
disk-size: 6000M
99102
heap-size: 600M
100-
script: ./gradlew connectedDemoDebugAndroidTest -x :benchmark:connectedDemoBenchmarkAndroidTest
103+
script: ./gradlew connectedDemoDebugAndroidTest -x :benchmark:connectedDemoBenchmarkAndroidTest --daemon
101104

102105
- name: Upload test reports
103106
if: always()

0 commit comments

Comments
 (0)