Skip to content

Commit 2501fa7

Browse files
authored
chore: update integration test app (#7)
* chore: update integration test app * chore: update integration test gh action * chore: update gh actions
1 parent 9232816 commit 2501fa7

File tree

6 files changed

+234
-162
lines changed

6 files changed

+234
-162
lines changed

.github/workflows/integration-test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
integ-test:
1818
name: "Integration Test"
1919
environment: "integration-test"
20-
runs-on: macos-15
20+
runs-on: macos-latest
2121
steps:
2222
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323
with:
@@ -37,6 +37,8 @@ jobs:
3737
run: |
3838
xcodebuild test \
3939
-scheme IntegrationTestApp \
40-
-destination "platform=iOS Simulator,name=iPhone 16,OS=latest" \
40+
-destination "platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5" \
4141
-sdk iphonesimulator \
42+
-test-iterations 3 -retry-tests-on-failure \
43+
-parallel-testing-enabled NO -test-repetition-relaunch-enabled YES \
4244
| xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}

.github/workflows/unit-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
- scheme: AWSAppSyncEvents
2828
os: iOS
2929
sdk: iphonesimulator
30-
destination: platform=iOS Simulator,name=iPhone 15,OS=latest
30+
destination: platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.5
3131
- scheme: AWSAppSyncEvents
3232
os: macOS
3333
sdk: macosx
34-
destination: platform=OS X,arch=x86_64
34+
destination: platform=macOS,arch=arm64
3535
- scheme: AWSAppSyncEvents
3636
os: tvOS
3737
sdk: appletvsimulator
38-
destination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=latest
38+
destination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.5
3939

40-
runs-on: macos-14
40+
runs-on: macos-latest
4141
steps:
4242
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4343
with:

Tests/IntegrationTestApp/IntegrationTestApp.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@
506506
repositoryURL = "https://github.com/aws-amplify/amplify-swift";
507507
requirement = {
508508
kind = upToNextMinorVersion;
509-
minimumVersion = 2.48.0;
509+
minimumVersion = 2.51.1;
510510
};
511511
};
512512
/* End XCRemoteSwiftPackageReference section */

Tests/IntegrationTestApp/IntegrationTestApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 224 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)