Skip to content

Commit c948a88

Browse files
committed
Ensure paths exist
1 parent d2678dd commit c948a88

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +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 emu screenrecord start --time-limit 360 "${{env.BASE_PATH}}/recording.webm" && maestro test "${{env.BASE_PATH}}/maestro" --debug-output "${{env.BASE_PATH}}/maestro-logs/debug-logs" || MAESTRO_EXIT_CODE=$?; adb emu screenrecord stop || true; adb logcat -d > "${{env.BASE_PATH}}/maestro-logs/logs.txt" || true; exit ${MAESTRO_EXIT_CODE:-0}
140+
mkdir "${{env.BASE_PATH}}/maestro-logs/" || true; adb emu screenrecord start --time-limit 360 "${{env.BASE_PATH}}/maestro-logs/recording.webm" || true; maestro test "${{env.BASE_PATH}}/maestro" --test-output-dir "${{env.BASE_PATH}}/maestro-logs/test-output" --debug-output "${{env.BASE_PATH}}/maestro-logs/debug-logs" || MAESTRO_EXIT_CODE=$?; adb emu screenrecord stop || true; adb logcat -d > "${{env.BASE_PATH}}/maestro-logs/logs.txt" || true; exit ${MAESTRO_EXIT_CODE:-0}
141+
141142
- name: Upload Maestro test results
142143
if: ${{ always() }}
143144
uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)