Skip to content

Commit

Permalink
Removed emulator caching for Github Actions
Browse files Browse the repository at this point in the history
Caused by: com.google.testing.platform.core.error.UtpException: ErrorName: INSTALL_FAILED_UPDATE_INCOMPATIBLE
  • Loading branch information
federicoiosue committed Oct 31, 2022
1 parent 5d9bca2 commit 26259d8
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,6 @@ jobs:
java-version: 11
cache: 'gradle'

- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-30

- 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: 30
target: google_apis
arch: x86_64
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."

- name: Run unit/instrumentation tests and coverage generation
uses: reactivecircus/android-emulator-runner@v2
with:
Expand Down

0 comments on commit 26259d8

Please sign in to comment.