Skip to content

Commit 9044ece

Browse files
add build step
1 parent 0babfc3 commit 9044ece

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/android-emulator-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
4545
disable-animations: true
4646
script: echo "Generated AVD snapshot for caching."
47+
- name: Build app and test APKs
48+
run: ./gradlew assembleDebug assembleDebugAndroidTest
4749
- name: Run instrumented tests
4850
uses: reactivecircus/android-emulator-runner@v2
4951
with:
@@ -52,7 +54,7 @@ jobs:
5254
force-avd-creation: false
5355
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
5456
disable-animations: true
55-
script: ./gradlew connectedDebugAndroidTest
57+
script: ./gradlew connectedDebugAndroidTest -x assembleDebug -x assembleDebugAndroidTest
5658
- name: Upload test results
5759
uses: actions/upload-artifact@v4
5860
if: always()

0 commit comments

Comments
 (0)