File tree Expand file tree Collapse file tree 2 files changed +6
-25
lines changed Expand file tree Collapse file tree 2 files changed +6
-25
lines changed Original file line number Diff line number Diff line change @@ -4,34 +4,21 @@ on: pull_request
4
4
5
5
jobs :
6
6
run-tests-job :
7
- runs-on : macos-13
7
+ runs-on : macos-12
8
8
9
9
steps :
10
- - uses : actions/checkout@v4
10
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
11
11
12
- - uses : maxim-lobanov/setup-xcode@v1
12
+ - uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
13
13
with :
14
14
xcode-version : latest-stable
15
15
16
- - name : Build and test
16
+ - name : Build and test
17
17
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]}
26
19
27
20
- name : CocoaPods lint
28
21
run : pod lib lint
29
22
30
23
- name : Upload coverage report to codecov.io
31
24
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()
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ on: pull_request
4
4
5
5
jobs :
6
6
run-e2e-job :
7
- runs-on : macos-13
7
+ runs-on : macos-12
8
8
9
9
steps :
10
10
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
23
23
in_app_template_id : ${{secrets.E2E_IN_APP_TEMPLATE_ID}}
24
24
run : |
25
25
./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()
You can’t perform that action at this time.
0 commit comments