Skip to content

Commit e083cd8

Browse files
committed
[MOB-10368] Revert files
1 parent 5814e1e commit e083cd8

File tree

2 files changed

+6
-25
lines changed

2 files changed

+6
-25
lines changed

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

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,21 @@ on: pull_request
44

55
jobs:
66
run-tests-job:
7-
runs-on: macos-13
7+
runs-on: macos-12
88

99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1111

12-
- uses: maxim-lobanov/setup-xcode@v1
12+
- uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
1313
with:
1414
xcode-version: latest-stable
1515

16-
- name: Build and test
16+
- name: Build and test
1717
run: |
18-
xcodebuild test \
19-
-project swift-sdk.xcodeproj \
20-
-scheme swift-sdk \
21-
-sdk iphonesimulator \
22-
-destination 'platform=iOS Simulator,name=iPhone 14 Pro Max' \
23-
-enableCodeCoverage YES \
24-
-resultBundlePath TestResults.xcresult \
25-
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 13 Pro Max' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
2619
2720
- name: CocoaPods lint
2821
run: pod lib lint
2922

3023
- name: Upload coverage report to codecov.io
3124
run: bash <(curl -s https://codecov.io/bash) -X gcov -J 'IterableSDK' -J 'IterableAppExtensions'
32-
33-
- name: Create Test Report
34-
uses: kishikawakatsumi/xcresulttool@v1
35-
with:
36-
path: TestResults.xcresult
37-
if: success() || failure()

.github/workflows/e2e.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: pull_request
44

55
jobs:
66
run-e2e-job:
7-
runs-on: macos-13
7+
runs-on: macos-12
88

99
steps:
1010
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -23,9 +23,3 @@ jobs:
2323
in_app_template_id: ${{secrets.E2E_IN_APP_TEMPLATE_ID}}
2424
run: |
2525
./tests/endpoint-tests/scripts/run_test.sh
26-
27-
- name: Create Test Report
28-
uses: kishikawakatsumi/xcresulttool@v1
29-
with:
30-
path: TestResults.xcresult
31-
if: success() || failure()

0 commit comments

Comments
 (0)