Skip to content

Commit

Permalink
ci: demo ui && add android 33
Browse files Browse the repository at this point in the history
  • Loading branch information
r0xsh committed Oct 18, 2023
1 parent 4fe61dc commit 629caf4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/fastlane_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
EMULATOR_API: [28]
EMULATOR_API: [28, 33]
EMULATOR_ARCH: [x86_64]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -208,7 +208,13 @@ jobs:
bash -c "echo 'hw.lcd.height=2560' >> /Users/runner/.android/avd/test.avd/config.ini"
bash -c "echo 'hw.lcd.width=1440' >> /Users/runner/.android/avd/test.avd/config.ini"
curl -Ls "https://get.maestro.mobile.dev" | bash
adb root
adb install -t release.apk
adb shell settings put global sysui_demo_allowed 1
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 1200
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e level 4 -e datatype 4g -e wifi false
adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false
adb shell am broadcast -a com.android.systemui.demo -e command battery -e plugged false -e level 100
$HOME/.maestro/bin/maestro test -e APP_ID=${{ inputs.package_name }} --include-tags=screenshots ./__maestro__
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 629caf4

Please sign in to comment.