File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change 55 branches : [ "master" ]
66 pull_request :
77 branches : [ "master" ]
8-
98 workflow_dispatch :
109
1110jobs :
@@ -41,22 +40,31 @@ jobs:
4140 run : chmod +x gradlew
4241
4342 - name : Build for debug with gradle
44- run : ./gradlew assembleDebug
43+ run : ./gradlew assembleDebug assembleAndroidTest
4544
46- - name : Start Android Emulator
45+ - name : Start Android Emulator and Run Tests
4746 uses : reactivecircus/android-emulator-runner@v2
4847 with :
4948 api-level : 31
5049 arch : x86_64
5150 profile : Nexus 6
51+ disable-animations : true
5252 script : ./gradlew connectedDebugAndroidTest
53-
54- - name : Run Compose UI tests
55- run : ./gradlew connectedDebugAndroidTest
53+ pre-emulator-launch : |
54+ adb devices
55+ echo "Emulator will start now..."
56+ post-emulator-launch : |
57+ adb devices
58+ adb shell settings put global window_animation_scale 0.0
59+ adb shell settings put global transition_animation_scale 0.0
60+ adb shell settings put global animator_duration_scale 0.0
61+ adb shell input keyevent 82
5662
5763 - name : Upload UI test report
5864 if : always()
5965 uses : actions/upload-artifact@v4
6066 with :
6167 name : compose_test_report
62- path : app/build/reports/androidTests/connected/
68+ path : |
69+ app/build/reports/androidTests/connected/
70+ app/build/outputs/androidTest-results/connected/
You can’t perform that action at this time.
0 commit comments