@@ -49,45 +49,45 @@ jobs:
49
49
~/.android/adb*
50
50
key : avd-tablet-api-24
51
51
52
- - name : Create AVD and generate snapshot for caching
53
- if : steps.avd-cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request'
54
- uses : reactivecircus/android-emulator-runner@v2
55
- with :
56
- api-level : 24
57
- force-avd-creation : false
58
- emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
59
- disable-animations : true
60
- script : echo "Generated AVD snapshot for caching."
61
-
62
- - name : Run Instrumentation tests
63
- if : github.event_name != 'pull_request'
64
- uses : reactivecircus/android-emulator-runner@v2
65
- with :
66
- api-level : 24
67
- force-avd-creation : false
68
- emulator-options : -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
69
- disable-animations : true
70
- profile : Nexus 10
71
- script : |
72
- adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0
73
- adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0
74
- adb emu geo fix 37.422131 -122.084801
75
- ./gradlew connectedBetaDebugAndroidTest --stacktrace
76
-
77
- - name : Run Unit tests with unified coverage
78
- if : github.event_name != 'pull_request'
79
- run : ./gradlew -Pcoverage testBetaDebugUnitTestUnifiedCoverage --stacktrace
80
-
81
- - name : Run Unit tests without unified coverage
82
- if : github.event_name == 'pull_request'
83
- run : ./gradlew -Pcoverage testBetaDebugUnitTestCoverage --stacktrace
84
-
85
- - name : Upload Test Report to Codecov
86
- if : github.event_name != 'pull_request'
87
- run : |
88
- curl -Os https://uploader.codecov.io/latest/linux/codecov
89
- chmod +x codecov
90
- ./codecov -f "app/build/reports/jacoco/testBetaDebugUnitTestUnifiedCoverage/testBetaDebugUnitTestUnifiedCoverage.xml" -Z
52
+ # - name: Create AVD and generate snapshot for caching
53
+ # if: steps.avd-cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request'
54
+ # uses: reactivecircus/android-emulator-runner@v2
55
+ # with:
56
+ # api-level: 24
57
+ # force-avd-creation: false
58
+ # emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
59
+ # disable-animations: true
60
+ # script: echo "Generated AVD snapshot for caching."
61
+ #
62
+ # - name: Run Instrumentation tests
63
+ # if: github.event_name != 'pull_request'
64
+ # uses: reactivecircus/android-emulator-runner@v2
65
+ # with:
66
+ # api-level: 24
67
+ # force-avd-creation: false
68
+ # emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
69
+ # disable-animations: true
70
+ # profile: Nexus 10
71
+ # script: |
72
+ # adb shell content insert --uri content://settings/system --bind name:s:accelerometer_rotation --bind value:i:0
73
+ # adb shell content insert --uri content://settings/system --bind name:s:user_rotation --bind value:i:0
74
+ # adb emu geo fix 37.422131 -122.084801
75
+ # ./gradlew connectedBetaDebugAndroidTest --stacktrace
76
+ #
77
+ # - name: Run Unit tests with unified coverage
78
+ # if: github.event_name != 'pull_request'
79
+ # run: ./gradlew -Pcoverage testBetaDebugUnitTestUnifiedCoverage --stacktrace
80
+ #
81
+ # - name: Run Unit tests without unified coverage
82
+ # if: github.event_name == 'pull_request'
83
+ # run: ./gradlew -Pcoverage testBetaDebugUnitTestCoverage --stacktrace
84
+ #
85
+ # - name: Upload Test Report to Codecov
86
+ # if: github.event_name != 'pull_request'
87
+ # run: |
88
+ # curl -Os https://uploader.codecov.io/latest/linux/codecov
89
+ # chmod +x codecov
90
+ # ./codecov -f "app/build/reports/jacoco/testBetaDebugUnitTestUnifiedCoverage/testBetaDebugUnitTestUnifiedCoverage.xml" -Z
91
91
92
92
- name : Generate betaDebug APK
93
93
run : bash ./gradlew assembleBetaDebug --stacktrace
0 commit comments