1616 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1717
1818jobs :
19- test-e2e-debug :
20- name : Test E2E UI (Debug)
21- strategy :
22- matrix :
23- include :
24- - ios : 18.5
25- xcode : 16.4
26- os : macos-15
27- device : " iPhone 16 Pro"
28- setup_runtime : false
29- - ios : 17.5
30- xcode : 15.4
31- os : macos-14
32- device : " iPhone 15 Pro"
33- setup_runtime : false
34- - ios : 16.4
35- xcode : 15.3 # fails on 15.4
36- os : macos-14
37- device : " iPhone 14 Pro"
38- setup_runtime : true
39- fail-fast : false
40- runs-on : ${{ matrix.os }}
41- env :
42- GITHUB_EVENT : ${{ toJson(github.event) }}
43- ALLURE_TOKEN : ${{ secrets.ALLURE_TOKEN }}
44- XCODE_VERSION : ${{ matrix.xcode }}
45- steps :
46- 47- - uses : ./.github/actions/bootstrap
48- env :
49- INSTALL_ALLURE : true
50- INSTALL_YEETD : true
51- INSTALL_IPSW : true
52- SKIP_MINT_BOOTSTRAP : true
53- - uses : ./.github/actions/setup-ios-runtime
54- if : ${{ matrix.setup_runtime }}
55- timeout-minutes : 60
56- with :
57- version : ${{ matrix.ios }}
58- device : ${{ matrix.device }}
59- - name : Build
60- run : bundle exec fastlane build_test_app_and_frameworks
61- timeout-minutes : 60
62- - name : Launch Allure TestOps
63- run : bundle exec fastlane allure_launch cron:true
64- - name : Run UI Tests (Debug)
65- run : bundle exec fastlane test_e2e_mock device:"${{ matrix.device }} (${{ matrix.ios }})"
66- timeout-minutes : 90
67- - name : Allure TestOps Upload
68- if : success() || failure()
69- run : bundle exec fastlane allure_upload launch_id:$LAUNCH_ID
70- - name : Allure TestOps Launch Removal
71- if : cancelled()
72- run : bundle exec fastlane allure_launch_removal launch_id:$LAUNCH_ID
73- - name : Parse xcresult
74- if : failure()
75- run : |
76- brew install chargepoint/xcparse/xcparse
77- xcparse logs fastlane/test_output/StreamChatSwiftUITestsApp.xcresult fastlane/test_output/logs/
78- - uses : actions/upload-artifact@v4
79- if : failure()
80- with :
81- name : Test Data E2E (iOS ${{ matrix.ios }})
82- path : |
83- fastlane/recordings
84- fastlane/sinatra_log.txt
85- fastlane/test_output/report.junit
86- fastlane/test_output/logs/*/Diagnostics/**/*.txt
87- fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*
19+ # test-e2e-debug:
20+ # name: Test E2E UI (Debug)
21+ # strategy:
22+ # matrix:
23+ # include:
24+ # - ios: 18.5
25+ # xcode: 16.4
26+ # os: macos-15
27+ # device: "iPhone 16 Pro"
28+ # setup_runtime: false
29+ # - ios: 17.5
30+ # xcode: 15.4
31+ # os: macos-14
32+ # device: "iPhone 15 Pro"
33+ # setup_runtime: false
34+ # - ios: 16.4
35+ # xcode: 15.3 # fails on 15.4
36+ # os: macos-14
37+ # device: "iPhone 14 Pro"
38+ # setup_runtime: true
39+ # fail-fast: false
40+ # runs-on: ${{ matrix.os }}
41+ # env:
42+ # GITHUB_EVENT: ${{ toJson(github.event) }}
43+ # ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
44+ # XCODE_VERSION: ${{ matrix.xcode }}
45+ # steps:
46+ # - uses: actions/[email protected] 47+ # - uses: ./.github/actions/bootstrap
48+ # env:
49+ # INSTALL_ALLURE: true
50+ # INSTALL_YEETD: true
51+ # INSTALL_IPSW: true
52+ # SKIP_MINT_BOOTSTRAP: true
53+ # - uses: ./.github/actions/setup-ios-runtime
54+ # if: ${{ matrix.setup_runtime }}
55+ # timeout-minutes: 60
56+ # with:
57+ # version: ${{ matrix.ios }}
58+ # device: ${{ matrix.device }}
59+ # - name: Build
60+ # run: bundle exec fastlane build_test_app_and_frameworks
61+ # timeout-minutes: 60
62+ # - name: Launch Allure TestOps
63+ # run: bundle exec fastlane allure_launch cron:true
64+ # - name: Run UI Tests (Debug)
65+ # run: bundle exec fastlane test_e2e_mock device:"${{ matrix.device }} (${{ matrix.ios }})"
66+ # timeout-minutes: 90
67+ # - name: Allure TestOps Upload
68+ # if: success() || failure()
69+ # run: bundle exec fastlane allure_upload launch_id:$LAUNCH_ID
70+ # - name: Allure TestOps Launch Removal
71+ # if: cancelled()
72+ # run: bundle exec fastlane allure_launch_removal launch_id:$LAUNCH_ID
73+ # - name: Parse xcresult
74+ # if: failure()
75+ # run: |
76+ # brew install chargepoint/xcparse/xcparse
77+ # xcparse logs fastlane/test_output/StreamChatSwiftUITestsApp.xcresult fastlane/test_output/logs/
78+ # - uses: actions/upload-artifact@v4
79+ # if: failure()
80+ # with:
81+ # name: Test Data E2E (iOS ${{ matrix.ios }})
82+ # path: |
83+ # fastlane/recordings
84+ # fastlane/sinatra_log.txt
85+ # fastlane/test_output/report.junit
86+ # fastlane/test_output/logs/*/Diagnostics/**/*.txt
87+ # fastlane/test_output/logs/*/Diagnostics/simctl_diagnostics/DiagnosticReports/*
8888
8989 build-apps :
9090 name : Build Demo App
@@ -106,52 +106,52 @@ jobs:
106106 env :
107107 XCODE_VERSION : ${{ matrix.xcode }}
108108
109- build-old-xcode :
110- name : Build SDKs (Xcode 15)
111- runs-on : macos-14
112- env :
113- XCODE_VERSION : " 15.4"
114- steps :
115- - name : Connect Bot
116- uses :
webfactory/[email protected] 117- with :
118- ssh-private-key : ${{ secrets.BOT_SSH_PRIVATE_KEY }}
119- 120- - uses : ./.github/actions/ruby-cache
121- timeout-minutes : 25
122- - name : Build SwiftUI
123- run : bundle exec fastlane test_ui device:"iPhone 15" build_for_testing:true
124- timeout-minutes : 25
125- - name : Build XCFrameworks
126- run : bundle exec fastlane build_xcframeworks
127- timeout-minutes : 25
128- env :
129- MATCH_PASSWORD : ${{ secrets.MATCH_PASSWORD }}
130- APPSTORE_API_KEY : ${{ secrets.APPSTORE_API_KEY }}
109+ # build-old-xcode:
110+ # name: Build SDKs (Xcode 15)
111+ # runs-on: macos-14
112+ # env:
113+ # XCODE_VERSION: "15.4"
114+ # steps:
115+ # - name: Connect Bot
116+ # uses: webfactory/[email protected] 117+ # with:
118+ # ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
119+ # - uses: actions/[email protected] 120+ # - uses: ./.github/actions/ruby-cache
121+ # timeout-minutes: 25
122+ # - name: Build SwiftUI
123+ # run: bundle exec fastlane test_ui device:"iPhone 15" build_for_testing:true
124+ # timeout-minutes: 25
125+ # - name: Build XCFrameworks
126+ # run: bundle exec fastlane build_xcframeworks
127+ # timeout-minutes: 25
128+ # env:
129+ # MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
130+ # APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
131131
132- automated-code-review :
133- name : Automated Code Review
134- runs-on : macos-14
135- env :
136- XCODE_VERSION : " 15.4"
137- steps :
138- 139- - uses : ./.github/actions/bootstrap
140- - run : bundle exec fastlane rubocop
141- - run : bundle exec fastlane run_swift_format strict:true
142- - run : bundle exec fastlane pod_lint
132+ # automated-code-review:
133+ # name: Automated Code Review
134+ # runs-on: macos-14
135+ # env:
136+ # XCODE_VERSION: "15.4"
137+ # steps:
138+ # - uses: actions/[email protected] 139+ # - uses: ./.github/actions/bootstrap
140+ # - run: bundle exec fastlane rubocop
141+ # - run: bundle exec fastlane run_swift_format strict:true
142+ # - run: bundle exec fastlane pod_lint
143143
144- slack :
145- name : Slack Report
146- runs-on : ubuntu-latest
147- needs : [test-e2e-debug, build-apps, build-old-xcode, automated-code-review]
148- if : failure() && github.event_name == 'schedule'
149- steps :
150- - uses : 8398a7/action-slack@v3
151- with :
152- status : cancelled
153- text : " You shall not pass!"
154- job_name : " ${{ github.workflow }}: ${{ github.job }}"
155- fields : repo,commit,author,workflow
156- env :
157- SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_NIGHTLY_CHECKS }}
144+ # slack:
145+ # name: Slack Report
146+ # runs-on: ubuntu-latest
147+ # needs: [test-e2e-debug, build-apps, build-old-xcode, automated-code-review]
148+ # if: failure() && github.event_name == 'schedule'
149+ # steps:
150+ # - uses: 8398a7/action-slack@v3
151+ # with:
152+ # status: cancelled
153+ # text: "You shall not pass!"
154+ # job_name: "${{ github.workflow }}: ${{ github.job }}"
155+ # fields: repo,commit,author,workflow
156+ # env:
157+ # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_NIGHTLY_CHECKS }}
0 commit comments