Skip to content

Commit 71e4a2c

Browse files
committed
put maestro run into single line
1 parent 0ac6ce5 commit 71e4a2c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/integration-tests-ui-critical.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,7 @@ jobs:
137137
script: |
138138
adb uninstall io.sentry.uitest.android.critical || echo "Already uninstalled (or not found)"
139139
adb install -r -d "${{env.APK_NAME}}"
140-
141-
adb shell screenrecord --size 720x1280 --bit-rate 2000000 /sdcard/recording.mp4 & \
142-
SCREENRECORD_PID=$!; \
143-
maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs" || MAESTRO_EXIT_CODE=$?; \
144-
kill $SCREENRECORD_PID 2>/dev/null || true; \
145-
wait $SCREENRECORD_PID 2>/dev/null || true; \
146-
adb pull /sdcard/recording.mp4 "${{env.BASE_PATH}}/maestro-logs/recording.mp4" || true; \
147-
adb shell rm /sdcard/recording.mp4 || true; \
148-
exit ${MAESTRO_EXIT_CODE:-0}
140+
adb shell screenrecord --size 720x1280 --bit-rate 2000000 /sdcard/recording.mp4 & SCREENRECORD_PID=$!; maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs" || MAESTRO_EXIT_CODE=$?; kill $SCREENRECORD_PID 2>/dev/null || true; wait $SCREENRECORD_PID 2>/dev/null || true; adb pull /sdcard/recording.mp4 "${{env.BASE_PATH}}/maestro-logs/recording.mp4" || true; adb shell rm /sdcard/recording.mp4 || true; exit ${MAESTRO_EXIT_CODE:-0}
149141
150142
- name: Upload Maestro test results
151143
if: failure()

0 commit comments

Comments
 (0)