File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,12 @@ jobs:
13
13
with :
14
14
xcode-version : latest-stable
15
15
16
- - name : Find iPhone Simulator UUID
17
- id : find-simulator
18
- run : |
19
- SIMULATOR_ID=$(xcrun simctl list devices available | grep "iPhone 14 Pro Max" | head -n 1 | awk -F '[()]' '{print $2}')
20
- echo "SIMULATOR_ID=$SIMULATOR_ID" >> $GITHUB_ENV
21
-
22
16
- name : Build and test
23
17
run : |
24
- xcodebuild test -project swift-sdk.xcodeproj \
25
- -scheme swift-sdk \
26
- -sdk iphonesimulator \
27
- -destination "id=${SIMULATOR_ID}" \
28
- -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
18
+ xcodebuild test -project swift-sdk.xcodeproj -scheme swift-sdk -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
29
19
30
20
- name : CocoaPods lint
31
21
run : pod lib lint
32
22
33
23
- name : Upload coverage report to codecov.io
34
- run : bash <(curl -s https://codecov.io/bash) -X gcov -J 'IterableSDK' -J 'IterableAppExtensions'
24
+ run : bash <(curl -s https://codecov.io/bash) -X gcov -J 'IterableSDK' -J 'IterableAppExtensions'
You can’t perform that action at this time.
0 commit comments