Skip to content

Commit c67f5e1

Browse files
committed
ci: tests
1 parent d82f3d9 commit c67f5e1

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

.github/workflows/apps_automated.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)