File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 iOS :
77 name : Run Unit Tests
88 runs-on : macos-latest
9- env :
10- PROJECT_NAME : TOSegmentedControlExample.xcodeproj
11- SCHEME_NAME : TOSegmentedControlTests
12- DESTINATION : " platform=iOS Simulator,name=iPhone 16 Pro"
139 steps :
1410 - name : Checkout
1511 uses : actions/checkout@v1
1612 - name : Run Tests
17- run : |
18- set -o pipefail
19- xcodebuild build build-for-testing -project "${{ env.PROJECT_NAME }}" -scheme "${{ env.SCHEME_NAME }}" -destination "${{ env.DESTINATION }}" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=YES
20- xcodebuild analyze test-without-building -project "${{ env.PROJECT_NAME }}" -scheme "${{ env.SCHEME_NAME }}" -destination "${{ env.DESTINATION }}" -configuration Debug ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=YES
13+ uses : sersoft-gmbh/xcodebuild-action@v3
14+ with :
15+ project : TOSegmentedControlExample.xcodeproj
16+ scheme : TOSegmentedControlTests
17+ destination : platform=iOS Simulator,name=iPhone 16 Pro
18+ action : test
You can’t perform that action at this time.
0 commit comments