Skip to content

Commit 86f3a5e

Browse files
author
Alexey Alter-Pesotskiy
authored
[CIS-2180] Update CI to leverage Xcode 14.0.1 (#216)
1 parent c2d4c11 commit 86f3a5e

File tree

81 files changed

+21
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+21
-64
lines changed

.github/actions/prepare-ios-simulator/action.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/smoke-checks.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ concurrency:
2121

2222
env:
2323
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
24+
IOS_SIMULATOR_DEVICE: "iPhone 12 Pro (16.0)"
2425

2526
jobs:
2627
automated-code-review:
@@ -49,21 +50,12 @@ jobs:
4950
- uses: ./.github/actions/bootstrap
5051
env:
5152
INSTALL_SONAR: true
52-
- name: Prepare iPhone 12 with iOS 15.4
53-
uses: ./.github/actions/prepare-ios-simulator
54-
with:
55-
device: "iPhone 12"
56-
ios: "15.4"
57-
xcode: "13.3.1"
58-
- name: Run Tests (Debug)
59-
run: bundle exec fastlane test_ui device:"iPhone 12 (15.4)"
53+
- name: Run UI Tests (Debug)
54+
run: bundle exec fastlane test_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}"
55+
timeout-minutes: 30
6056
env:
6157
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6258
GITHUB_EVENT: ${{ toJson(github.event) }}
63-
- uses: test-summary/action@v1
64-
with:
65-
paths: fastlane/test_output/report.junit
66-
if: failure()
6759
- name: Get branch name
6860
id: get_branch_name
6961
run: echo "##[set-output name=branch;]${GITHUB_REF#refs/heads/}"
@@ -106,7 +98,7 @@ jobs:
10698
INSTALL_ALLURE: true
10799
- name: Run UI Tests (Debug)
108100
if: env.LAUNCH_ID != ''
109-
run: bundle exec fastlane test_e2e_mock device:"iPhone 12 Pro" batch:'${{ matrix.batch }}'
101+
run: bundle exec fastlane test_e2e_mock device:"${{ env.IOS_SIMULATOR_DEVICE }}" batch:'${{ matrix.batch }}'
110102
env:
111103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112104
GITHUB_EVENT: ${{ toJson(github.event) }}

StreamChatSwiftUI.xcodeproj/project.pbxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,7 @@
17421742
/* Begin PBXShellScriptBuildPhase section */
17431743
8465FCCE27468DFB00AF091E /* SwiftGen */ = {
17441744
isa = PBXShellScriptBuildPhase;
1745+
alwaysOutOfDate = 1;
17451746
buildActionMask = 2147483647;
17461747
files = (
17471748
);

StreamChatSwiftUI.xcodeproj/xcshareddata/xcschemes/DemoAppSwiftUI.xcscheme

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,6 @@
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
31-
<TestableReference
32-
skipped = "NO">
33-
<BuildableReference
34-
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "844AE86D275EBA09003225E5"
36-
BuildableName = "DemoAppSwiftUIUITests.xctest"
37-
BlueprintName = "DemoAppSwiftUIUITests"
38-
ReferencedContainer = "container:StreamChatSwiftUI.xcodeproj">
39-
</BuildableReference>
40-
</TestableReference>
41-
<TestableReference
42-
skipped = "NO">
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "8465FBBC2746873A00AF091E"
46-
BuildableName = "StreamChatSwiftUITests.xctest"
47-
BlueprintName = "StreamChatSwiftUITests"
48-
ReferencedContainer = "container:StreamChatSwiftUI.xcodeproj">
49-
</BuildableReference>
50-
</TestableReference>
5131
</Testables>
5232
</TestAction>
5333
<LaunchAction

0 commit comments

Comments
 (0)