Skip to content

Commit 2cc03c0

Browse files
committed
fix: wip
1 parent 617131b commit 2cc03c0

File tree

1 file changed

+5
-84
lines changed

1 file changed

+5
-84
lines changed

.github/workflows/e2e-android.yml

+5-84
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,11 @@ jobs:
7575
- name: Build
7676
run: yarn e2e:build:android-release || yarn e2e:build:android-release
7777

78-
- name: Test attempt 1
78+
- name: Test
7979
uses: reactivecircus/android-emulator-runner@v2
80-
# continue-on-error: true
81-
id: test1
8280
with:
8381
api-level: 31
8482
profile: 5.4in FWVGA
85-
# target: google_apis
8683
avd-name: Pixel_API_31_AOSP
8784
force-avd-creation: false
8885
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:
9996
adb reverse tcp:39388 tcp:39388
10097
adb reverse tcp:43782 tcp:43782
10198
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
182103
183104
- uses: actions/upload-artifact@v3
184105
if: failure()

0 commit comments

Comments
 (0)