Skip to content

Commit c8bb2b9

Browse files
committed
[MOB-10368] Reorganize some files
1 parent 5c61ebe commit c8bb2b9

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,12 @@ jobs:
1313
with:
1414
xcode-version: latest-stable
1515

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-
2216
- name: Build and test
2317
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]}
2919
3020
- name: CocoaPods lint
3121
run: pod lib lint
3222

3323
- 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'

0 commit comments

Comments
 (0)