File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 44name : SwiftUI-WorkoutApp CI
55
66on :
7- push :
8- branches : [ "main", "develop" ]
97 pull_request :
10- branches : [ " main", " develop" ]
8+ branches : [main, develop]
119
1210jobs :
13- build-and- test :
11+ test :
1412 runs-on : macos-latest
13+ timeout-minutes : 1
1514
1615 steps :
1716 - uses : actions/checkout@v4
18-
19- - name : Select Latest Xcode
20- run : sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
2117
22- - name : Build Project
23- run : |
24- xcodebuild build \
25- -scheme SwiftUI-WorkoutApp \
26- -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' \
27- CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
18+ - name : Xcode Version
19+ run : xcodebuild -version
2820
29- - name : Run Unit Tests with Test Plan
21+ - name : Run Unit Tests
3022 run : |
3123 xcodebuild test \
3224 -scheme SwiftUI-WorkoutApp \
33- -testPlan "SwiftUI-WorkoutApp" \
34- -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' \
35- CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
25+ -destination 'platform=iOS Simulator,OS=latest' \
26+ CODE_SIGNING_ALLOWED=NO
You can’t perform that action at this time.
0 commit comments