Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/android_ui_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on: pull_request

# creates device snapshot for faster startup
jobs:
ui_test:
runs-on: macos-latest # performance improvements
test:
runs-on: macos-latest
strategy:
matrix:
api-level: [ 29 ]
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -35,13 +38,13 @@ jobs:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-29
key: avd-${{ matrix.api-level }}

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
Expand All @@ -50,7 +53,7 @@ jobs:
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
api-level: ${{ matrix.api-level }}
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
Expand Down