From 2ecc5c5cba4f68aaa4d5f76be29316e8571fe4b7 Mon Sep 17 00:00:00 2001 From: Fadzli Fadzil Date: Mon, 16 Dec 2024 16:28:56 +0800 Subject: [PATCH] Revert "add back caching" This reverts commit 5c8b82ae6aa36624bacab6863c51614d3469dfc7. --- .github/workflows/sdk_test.yml | 47 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/sdk_test.yml b/.github/workflows/sdk_test.yml index d63740f..2fbed09 100644 --- a/.github/workflows/sdk_test.yml +++ b/.github/workflows/sdk_test.yml @@ -21,26 +21,26 @@ jobs: - name: Touch local properties run: touch local.properties - - name: AVD cache - uses: actions/cache@v3 - id: avd-cache - with: - path: | - ~/.android/avd/* - ~/.android/adb* - key: avd-29 +# - name: AVD cache +# uses: actions/cache@v3 +# id: avd-cache +# with: +# path: | +# ~/.android/avd/* +# ~/.android/adb* +# key: avd-29 - - 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 - arch: arm64-v8a - force-avd-creation: false - emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - disable-animations: false - ram-size: 4096M - script: echo "Generated AVD snapshot for caching." +# - 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 +# arch: arm64-v8a +# force-avd-creation: false +# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none +# disable-animations: false +# ram-size: 4096M +# script: echo "Generated AVD snapshot for caching." - name: Setup Gradle uses: gradle/gradle-build-action@v2 @@ -58,12 +58,13 @@ jobs: - name: Run Instrumentation Test uses: reactivecircus/android-emulator-runner@v2 with: - emulator-build: 7425822 - api-level: 29 +# emulator-build: 7425822 + api-level: 30 + target: google_apis arch: x86_64 - force-avd-creation: false +# force-avd-creation: false ram-size: 4096M - script: ./gradlew :xendit-android:connectedCheck --stacktrace --no-daemon + script: ./gradlew :xendit-android:connectedCheck --stacktrace # notify-slack: # needs: unit-test