File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 curl -Ls "https://get.maestro.mobile.dev" | bash
7272 echo "$HOME/.maestro/bin" >> $GITHUB_PATH
7373
74- - name : Restore cocoapods
75- id : cocoapods-cache
76- uses : actions/cache/restore@v4
77- with :
78- path : |
79- **/ios/Pods
80- key : ${{ runner.os }}-cocoapods-${{ hashFiles('apps/example/ios/Podfile.lock') }}
81- restore-keys : |
82- ${{ runner.os }}-cocoapods-
83-
84- - name : Install cocoapods
85- if : steps.cocoapods-cache.outputs.cache-hit != 'true'
86- run : |
87- cd apps/example/ios
88- pod install
89- env :
90- NO_FLIPPER : 1
91-
92- - name : Cache cocoapods
93- if : steps.cocoapods-cache.outputs.cache-hit != 'true'
94- uses : actions/cache/save@v4
95- with :
96- path : |
97- **/ios/Pods
98- key : ${{ steps.cocoapods-cache.outputs.cache-key }}
74+ - name : Start Metro
75+ run : yarn example start &
9976
10077 - name : Run E2E tests
10178 run : yarn test:e2e:ios
@@ -135,6 +112,7 @@ jobs:
135112 - name : Finalize Android SDK
136113 run : |
137114 /bin/bash -c "yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses > /dev/null"
115+ $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "emulator" "platform-tools"
138116 echo "$ANDROID_HOME/cmdline-tools/latest/bin" >> $GITHUB_PATH
139117 echo "$ANDROID_HOME/platform-tools" >> $GITHUB_PATH
140118 echo "$ANDROID_HOME/emulator" >> $GITHUB_PATH
@@ -154,6 +132,9 @@ jobs:
154132 restore-keys : |
155133 ${{ runner.os }}-gradle-
156134
135+ - name : Start Metro
136+ run : yarn example start &
137+
157138 - name : Run E2E tests
158139 run : yarn test:e2e:android
159140 env :
You can’t perform that action at this time.
0 commit comments