Skip to content

Commit 66a4edd

Browse files
author
Alexey Alter-Pesotskiy
committed
[BW] Attach UI test logs on failure on cron checks
1 parent 5625b6f commit 66a4edd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/cron-checks.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- uses: ./.github/actions/bootstrap
2929
env:
3030
INSTALL_ALLURE: true
31+
INSTALL_XCPARSE: true
3132
- name: Setup iOS ${{ matrix.ios }} Runtime
3233
if: ${{ matrix.ios != 'latest' }}
3334
run: xcversion simulators --install='iOS ${{ matrix.ios }}'
@@ -52,6 +53,18 @@ jobs:
5253
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
5354
MATRIX_CONTEXT: ${{ toJson(matrix) }}
5455
if: failure()
56+
- name: Parse xcresult
57+
if: failure()
58+
run: xcparse logs fastlane/test_output/StreamChatSwiftUITestsApp.xcresult fastlane/test_output/logs/
59+
- uses: actions/upload-artifact@v3
60+
if: failure()
61+
with:
62+
name: Test Data
63+
path: |
64+
fastlane/recordings
65+
fastlane/sinatra_log.txt
66+
fastlane/test_output/logs/*/Diagnostics/StreamChatSwiftUITestsAppUITests-*/*/*.txt
67+
5568
5669
build-apps:
5770
name: Build Demo App

0 commit comments

Comments
 (0)