File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change 25
25
swiftui-auth :
26
26
runs-on : macOS-latest
27
27
timeout-minutes : 30
28
- env :
29
- SIMULATOR_NAME : CI-iPhone-16-Test
30
28
steps :
31
29
- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
32
30
- uses : actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
48
46
- name : Select Xcode version
49
47
run : |
50
48
sudo xcode-select -switch /Applications/Xcode_16.1.app/Contents/Developer
51
- - name : Create Simulator
52
- run : xcrun simctl create "$SIMULATOR_NAME" "iPhone 16 Plus"
53
- - name : Boot Simulator Once and Generate Preferences
54
- run : |
55
- xcrun simctl boot "$SIMULATOR_NAME"
56
- sleep 5
57
- open -a Simulator
58
- sleep 10
59
- osascript -e 'tell application "Simulator" to quit'
60
-
61
- - name : Disable iOS Simulator Hardware Keyboard
62
- run : |
63
- defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool false
64
-
65
- - name : Boot Simulator for Testing
66
- run : |
67
- xcrun simctl boot "$SIMULATOR_NAME"
68
- sleep 5
69
49
- name : Run Integration Tests
70
50
run : |
71
51
cd ./samples/swiftui/FirebaseSwiftUIExample
75
55
run : |
76
56
cd ./samples/swiftui/FirebaseSwiftUIExample
77
57
set -o pipefail
78
- xcodebuild test -scheme FirebaseSwiftUIExampleUITests -destination " name=$SIMULATOR_NAME" -enableCodeCoverage YES | tee FirebaseSwiftUIExampleUITests.log | xcpretty --test --color --simple
58
+ xcodebuild test -scheme FirebaseSwiftUIExampleUITests -destination 'platform=iOS Simulator, name=iPhone 16 Plus' -enableCodeCoverage YES | tee FirebaseSwiftUIExampleUITests.log | xcpretty --test --color --simple
79
59
- name : Upload test logs
80
60
if : always()
81
61
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments