@@ -75,14 +75,11 @@ jobs:
75
75
- name : Build
76
76
run : yarn e2e:build:android-release || yarn e2e:build:android-release
77
77
78
- - name : Test attempt 1
78
+ - name : Test
79
79
uses : reactivecircus/android-emulator-runner@v2
80
- # continue-on-error: true
81
- id : test1
82
80
with :
83
81
api-level : 31
84
82
profile : 5.4in FWVGA
85
- # target: google_apis
86
83
avd-name : Pixel_API_31_AOSP
87
84
force-avd-creation : false
88
85
emulator-options : -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
@@ -99,86 +96,10 @@ jobs:
99
96
adb reverse tcp:39388 tcp:39388
100
97
adb reverse tcp:43782 tcp:43782
101
98
adb reverse tcp:60001 tcp:60001
102
- yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all
103
-
104
- # - name: Test attempt 2
105
- # uses: reactivecircus/android-emulator-runner@v2
106
- # continue-on-error: true
107
- # id: test2
108
- # # if: steps.test1.outcome != 'success'
109
- # with:
110
- # api-level: 31
111
- # profile: 5.4in FWVGA
112
- # # target: google_apis
113
- # avd-name: Pixel_API_31_AOSP
114
- # force-avd-creation: true
115
- # emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
116
- # arch: x86_64
117
- # script: |
118
- # adb root
119
- # adb reverse tcp:80 tcp:80
120
- # adb reverse tcp:8080 tcp:8080
121
- # adb reverse tcp:9735 tcp:9735
122
- # adb reverse tcp:10009 tcp:10009
123
- # adb reverse tcp:28334 tcp:28334
124
- # adb reverse tcp:28335 tcp:28335
125
- # adb reverse tcp:28336 tcp:28336
126
- # adb reverse tcp:39388 tcp:39388
127
- # adb reverse tcp:43782 tcp:43782
128
- # adb reverse tcp:60001 tcp:60001
129
- # yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all
130
-
131
- # - name: Test attempt 3
132
- # uses: reactivecircus/android-emulator-runner@v2
133
- # continue-on-error: true
134
- # id: test3
135
- # if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success'
136
- # with:
137
- # api-level: 31
138
- # profile: 5.4in FWVGA
139
- # # target: google_apis
140
- # avd-name: Pixel_API_31_AOSP
141
- # force-avd-creation: false
142
- # emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
143
- # arch: x86_64
144
- # script: |
145
- # adb root
146
- # adb reverse tcp:80 tcp:80
147
- # adb reverse tcp:8080 tcp:8080
148
- # adb reverse tcp:9735 tcp:9735
149
- # adb reverse tcp:10009 tcp:10009
150
- # adb reverse tcp:28334 tcp:28334
151
- # adb reverse tcp:28335 tcp:28335
152
- # adb reverse tcp:28336 tcp:28336
153
- # adb reverse tcp:39388 tcp:39388
154
- # adb reverse tcp:43782 tcp:43782
155
- # adb reverse tcp:60001 tcp:60001
156
- # yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all
157
-
158
- # - name: Test attempt 4
159
- # uses: reactivecircus/android-emulator-runner@v2
160
- # if: steps.test1.outcome != 'success' && steps.test2.outcome != 'success' && steps.test3.outcome != 'success'
161
- # with:
162
- # api-level: 31
163
- # profile: 5.4in FWVGA
164
- # # target: google_apis
165
- # avd-name: Pixel_API_31_AOSP
166
- # force-avd-creation: true
167
- # emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none -partition-size 2047
168
- # arch: x86_64
169
- # script: |
170
- # adb root
171
- # adb reverse tcp:80 tcp:80
172
- # adb reverse tcp:8080 tcp:8080
173
- # adb reverse tcp:9735 tcp:9735
174
- # adb reverse tcp:10009 tcp:10009
175
- # adb reverse tcp:28334 tcp:28334
176
- # adb reverse tcp:28335 tcp:28335
177
- # adb reverse tcp:28336 tcp:28336
178
- # adb reverse tcp:39388 tcp:39388
179
- # adb reverse tcp:43782 tcp:43782
180
- # adb reverse tcp:60001 tcp:60001
181
- # yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all
99
+ yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || \
100
+ yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || \
101
+ yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all || \
102
+ yarn e2e:test:android-release --record-videos all --take-screenshots all --record-logs all
182
103
183
104
- uses : actions/upload-artifact@v3
184
105
if : failure()
0 commit comments