Skip to content

Commit 357d412

Browse files
committed
Disable AVD caching as it seems to be causing test run issues
1 parent 8bb3fb1 commit 357d412

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/test.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,26 @@ jobs:
3636
- name: Setup Gradle
3737
uses: gradle/actions/setup-gradle@v4
3838

39-
- name: "Load AVD from cache. API/Arch ${{ matrix.android.version }}-${{ matrix.android.arch }}"
40-
uses: actions/cache@v4
41-
id: avd-cache
42-
with:
43-
path: |
44-
~/.android/avd/*
45-
~/.android/adb*
46-
key: emulator-${{ matrix.android.version }}-${{ matrix.android.arch }}
47-
48-
- name: "Create AVD and generate snapshot for caching. API/Arch: ${{ matrix.android.version }}-${{ matrix.android.arch }}"
49-
if: steps.avd-cache.outputs.cache-hit != 'true'
50-
uses: reactivecircus/android-emulator-runner@v2
51-
with:
52-
api-level: ${{ matrix.android.version }}
53-
arch: ${{ matrix.android.arch }}
54-
target: 'google_apis'
55-
force-avd-creation: false
56-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
57-
disable-animations: false
58-
script: echo "Generated AVD snapshot for caching."
39+
# - name: "Load AVD from cache. API/Arch ${{ matrix.android.version }}-${{ matrix.android.arch }}"
40+
# uses: actions/cache@v4
41+
# id: avd-cache
42+
# with:
43+
# path: |
44+
# ~/.android/avd/*
45+
# ~/.android/adb*
46+
# key: emulator-${{ matrix.android.version }}-${{ matrix.android.arch }}
47+
#
48+
# - name: "Create AVD and generate snapshot for caching. API/Arch: ${{ matrix.android.version }}-${{ matrix.android.arch }}"
49+
# if: steps.avd-cache.outputs.cache-hit != 'true'
50+
# uses: reactivecircus/android-emulator-runner@v2
51+
# with:
52+
# api-level: ${{ matrix.android.version }}
53+
# arch: ${{ matrix.android.arch }}
54+
# target: 'google_apis'
55+
# force-avd-creation: false
56+
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
57+
# disable-animations: false
58+
# script: echo "Generated AVD snapshot for caching."
5959

6060
- name: "Run tests. API/Arch: ${{ matrix.android.version }}-${{ matrix.android.arch }}"
6161
uses: reactivecircus/android-emulator-runner@v2

0 commit comments

Comments
 (0)