Skip to content

Commit e41bebe

Browse files
authored
Update swift.yml
1 parent 4cbfea2 commit e41bebe

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/swift.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,19 @@ jobs:
2424
- name: List Available Simulators
2525
run: xcrun simctl list devices
2626

27-
- name: Build and Test
27+
- name: Build App
2828
run: |
2929
# Сборка
3030
xcodebuild build \
3131
-scheme "SwiftUI-WorkoutApp" \
3232
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5" \
3333
CODE_SIGNING_ALLOWED=NO
3434
35-
- name: Save Build Log
35+
- name: Run Tests
3636
run: |
37-
xcodebuild build ... 2>&1 | tee build.log
38-
echo "BUILD_LOG<<EOF" >> $GITHUB_ENV
39-
cat build.log >> $GITHUB_ENV
40-
echo "EOF" >> $GITHUB_ENV
37+
xcodebuild test \
38+
-scheme "SwiftUI-WorkoutApp" \
39+
-testPlan "SwiftUI-WorkoutApp" \
40+
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5" \
41+
CODE_SIGNING_ALLOWED=NO \
42+
-verbose

0 commit comments

Comments
 (0)