-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b4a079
commit f93cf27
Showing
21 changed files
with
129 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- name: Build | ||
run: bundle exec fastlane build_test_app_and_frameworks | ||
timeout-minutes: 60 | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: success() | ||
with: | ||
name: cache-derived-data | ||
|
@@ -76,14 +76,15 @@ jobs: | |
IOS_SIMULATOR_DEVICE: "${{ matrix.device }} (${{ matrix.ios }})" # For the Allure report | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: cache-derived-data | ||
path: derived_data/Build/ | ||
- uses: ./.github/actions/bootstrap | ||
env: | ||
INSTALL_ALLURE: true | ||
INSTALL_YEETD: true | ||
SKIP_MINT_BOOTSTRAP: true | ||
- name: Cache iOS Simulator Runtime | ||
uses: actions/cache@v4 | ||
id: runtime-cache | ||
|
@@ -124,7 +125,7 @@ jobs: | |
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse logs fastlane/test_output/StreamChatUITestsApp.xcresult fastlane/test_output/logs/ | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: Test Data E2E (iOS ${{ matrix.ios }}) | ||
|
@@ -206,7 +207,7 @@ jobs: | |
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse logs fastlane/test_output/StreamChat.xcresult fastlane/test_output/logs/ | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: Test Data LLC (iOS ${{ matrix.ios }}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,9 @@ jobs: | |
- name: Build | ||
run: bundle exec fastlane build_test_app_and_frameworks | ||
timeout-minutes: 60 | ||
- uses: actions/upload-artifact@v3 | ||
env: | ||
XCODE_VERSION: "15.0.1" # Should match the minimum version in dependent jobs | ||
- uses: actions/upload-artifact@v4 | ||
if: success() | ||
with: | ||
name: cache-derived-data | ||
|
@@ -54,7 +56,7 @@ jobs: | |
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 100 | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: cache-derived-data | ||
path: derived_data/Build/ | ||
|
@@ -64,7 +66,7 @@ jobs: | |
- uses: ./.github/actions/python-cache | ||
- name: Run LLC Tests (Debug) | ||
run: bundle exec fastlane test device:"${{ env.IOS_SIMULATOR_DEVICE }}" skip_build:true | ||
timeout-minutes: 30 | ||
timeout-minutes: 60 | ||
- name: Get branch name | ||
id: get_branch_name | ||
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT | ||
|
@@ -90,7 +92,7 @@ jobs: | |
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse logs fastlane/test_output/StreamChat.xcresult fastlane/test_output/logs/ | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: Test Data LLC | ||
|
@@ -105,16 +107,17 @@ jobs: | |
if: ${{ github.event_name != 'push' }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: cache-derived-data | ||
path: derived_data/Build/ | ||
- uses: ./.github/actions/bootstrap | ||
env: | ||
INSTALL_YEETD: true | ||
SKIP_MINT_BOOTSTRAP: true | ||
- name: Run UI Tests (Debug) | ||
run: bundle exec fastlane test_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}" skip_build:true record:${{ github.event.inputs.snapshots }} | ||
timeout-minutes: 25 | ||
timeout-minutes: 60 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} # to open a PR | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # to use github cli | ||
|
@@ -124,7 +127,7 @@ jobs: | |
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse screenshots fastlane/test_output/StreamChatUI.xcresult fastlane/test_output/snapshots --test | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: Test Data UIKit | ||
|
@@ -142,22 +145,25 @@ jobs: | |
LAUNCH_ID: ${{ needs.allure_testops_launch.outputs.launch_id }} | ||
strategy: | ||
matrix: | ||
batch: [0, 1, 2] | ||
batch: [0, 1] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: cache-derived-data | ||
path: derived_data/Build/ | ||
- uses: ./.github/actions/bootstrap | ||
env: | ||
INSTALL_ALLURE: true | ||
INSTALL_YEETD: true | ||
SKIP_MINT_BOOTSTRAP: true | ||
- name: Run UI Tests (Debug) | ||
run: bundle exec fastlane test_e2e_mock device:"${{ env.IOS_SIMULATOR_DEVICE }}" batch:'${{ matrix.batch }}' test_without_building:true | ||
timeout-minutes: 60 | ||
timeout-minutes: 100 | ||
env: | ||
XCODE_VERSION: "15.0.1" # the most stable pair of Xcode | ||
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.0)" # and iOS | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_NUM: ${{ github.event.number }} | ||
MATRIX_SIZE: ${{ strategy.job-total }} | ||
|
@@ -178,7 +184,7 @@ jobs: | |
run: | | ||
brew install chargepoint/xcparse/xcparse | ||
xcparse logs fastlane/test_output/StreamChatUITestsApp.xcresult fastlane/test_output/logs/ | ||
- uses: actions/upload-artifact@v3 | ||
- uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: Test Data E2E | ||
|
@@ -237,7 +243,7 @@ jobs: | |
GITHUB_PR_NUM: ${{ github.event.number }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: cache-derived-data | ||
path: derived_data/Build/ | ||
|
@@ -269,7 +275,7 @@ jobs: | |
GITHUB_PR_NUM: ${{ github.event.number }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: cache-derived-data | ||
path: derived_data/Build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.