File tree Expand file tree Collapse file tree 1 file changed +25
-6
lines changed
Expand file tree Collapse file tree 1 file changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,31 @@ jobs:
2727
2828 - name : Setup
2929 run : npm run setup
30-
31- - name : Create Emulator
32- uses : rigor789/action-create-emulator@master
33-
34- - name : Test (Android)
35- run : node tools/scripts/run-automated.js android
30+
31+ - name : Download & install the Android SDK
32+ uses : malinskiy/action-android/install-sdk@release/0.1.3
33+
34+ - name : Set up platform tools like adb
35+ run : sdkmanager platform-tools
36+
37+ - name : Start ADB and verify that pathing is working correctly
38+ run : adb devices
39+
40+ - name : Verify $ANDROID_HOME is properly set for later Gradle commands.
41+ run : echo $ANDROID_HOME
42+
43+ - name : Start Emulator
44+ uses : reactivecircus/android-emulator-runner@v2
45+ with :
46+ api-level : 29
47+ script : node tools/scripts/run-automated.js android
48+
49+ - name : Start iOS Simulator
50+ if : always() # run iOS tests even if Android tests failed
51+ uses : futureware-tech/simulator-action@v1
52+ with :
53+ model : ' iPhone 13 Pro'
54+ os_version : ' >=15.0'
3655
3756 - name : Test (iOS)
3857 if : always() # run iOS tests even if Android tests failed
You can’t perform that action at this time.
0 commit comments