Skip to content

Commit 2ed7a41

Browse files
committed
debug
1 parent 700c333 commit 2ed7a41

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,23 @@ jobs:
3636
run: |
3737
xcodebuild -version
3838
xcrun simctl list
39+
40+
- name: List and Boot simulator
41+
run: |
42+
echo "Available simulators:"
43+
xcrun simctl list devices available | grep "iPhone 16"
44+
45+
echo "Booting simulator..."
46+
UDID=$(xcrun simctl list devices | grep "iPhone 16 Pro.*26.1.*Shutdown" | grep -o '([A-F0-9-]\{36\})' | head -1 | tr -d '()')
47+
echo "Simulator UDID: $UDID"
48+
xcrun simctl boot "$UDID"
49+
xcrun simctl bootstatus "$UDID" -b
50+
51+
echo "Simulator booted successfully"
3952

4053
- name: Install SwiftLint
4154
run: brew install swiftlint
42-
55+
4356
- name: Run Tests
4457
run: |
4558
xcodebuild test \

‎LittleLemon/ViewModels/MenuViewViewModel.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class MenuViewViewModel: ObservableObject {
6262
self.dessertMenuItems = mock.desserts
6363
}
6464

65-
//MARK:
65+
// MARK:
6666

6767
var isBurgersSelected: Bool {
6868
selectedCategories.contains(.burgers)

0 commit comments

Comments
 (0)