Skip to content

Commit f1c7451

Browse files
committed
enable more debugging
1 parent cf8083e commit f1c7451

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,8 @@ 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-
adb shell "screenrecord --size 720x1280 --bit-rate 2000000 /sdcard/recording.mp4 &" && sleep 2 && maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs" || MAESTRO_EXIT_CODE=$?; adb shell "kill -2 \$(pgrep screenrecord)" 2>/dev/null || true; sleep 3; 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}
140+
adb shell "screenrecord --size 720x1280 --bit-rate 2000000 /sdcard/recording.mp4 &" && sleep 2 && maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs/debug-logs" || MAESTRO_EXIT_CODE=$?; adb shell "kill -2 \$(pgrep screenrecord)" 2>/dev/null || true; sleep 3; 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}
141141
- name: Upload Maestro test results
142-
if: failure()
143142
uses: actions/upload-artifact@v6
144143
with:
145144
name: maestro-logs-${{ matrix.api-level }}-${{ matrix.arch }}-${{ matrix.target }}

0 commit comments

Comments
 (0)