Skip to content

Commit 2e66a08

Browse files
committed
Fix script
1 parent 38b7322 commit 2e66a08

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ios-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
matrix:
1515
include:
1616
- xcode_version: '16.2'
17-
ios_name: 'iPhone 15'
18-
os_version: '17.2'
17+
ios_name: 'iPhone 16'
18+
os_version: '18.6'
1919

2020
steps:
2121
- name: Checkout repository
@@ -52,7 +52,7 @@ jobs:
5252
echo "Available runtimes:"
5353
xcrun simctl list runtimes
5454
echo "Available destinations for scheme:"
55-
xcodebuild -workspace Example/Cloudinary.xcworkspace -scheme travis_public_scheme -showdestinations
55+
cd Example && xcodebuild -workspace Cloudinary.xcworkspace -scheme travis_public_scheme -showdestinations
5656
5757
- name: Install Pods
5858
working-directory: Example
@@ -63,15 +63,15 @@ jobs:
6363
xcodebuild build-for-testing \
6464
-workspace Example/Cloudinary.xcworkspace \
6565
-scheme travis_public_scheme \
66-
-destination "platform=iOS Simulator,name=${{ matrix.ios_name }}" \
66+
-destination "platform=iOS Simulator,OS=${{ matrix.os_version }},name=${{ matrix.ios_name }}" \
6767
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
6868
6969
- name: Run Tests
7070
run: |
7171
xcodebuild test-without-building \
7272
-workspace Example/Cloudinary.xcworkspace \
7373
-scheme travis_public_scheme \
74-
-destination "platform=iOS Simulator,name=${{ matrix.ios_name }}" \
74+
-destination "platform=iOS Simulator,OS=${{ matrix.os_version }},name=${{ matrix.ios_name }}" \
7575
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
7676
7777
- name: Notify on Failure

0 commit comments

Comments
 (0)