Skip to content

Commit

Permalink
ci: use reactivecircus/android-emulator-runner@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 6, 2024
1 parent 341a04b commit 209753d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ jobs:
!./packages/react-native-app/ios/build/Build/Products/Release-iphonesimulator/**
./packages/react-native-app/ios/build/Build/Products/Release-iphonesimulator/MapLibreReactNativeExample.app
test-android:
name: Test Android
needs: [build-android]
Expand All @@ -196,12 +195,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Azul Zulu OpenJDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 21

- name: Install Maestro
run: |
curl -Ls "https://get.maestro.mobile.dev" | bash
Expand All @@ -214,8 +207,12 @@ jobs:
path: ./packages/react-native-app/android

- name: Install on Android Emulator
run: adb install ./android/app-release.apk

uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: |
adb install ./android/app-release.apk
maestro test e2e/show-map.yml
- name: Test with Maestro
run: maestro test e2e/show-map.yml

Expand Down

0 comments on commit 209753d

Please sign in to comment.