diff --git a/.github/workflows/sdk_test.yml b/.github/workflows/sdk_test.yml index 560db04..b1839d3 100644 --- a/.github/workflows/sdk_test.yml +++ b/.github/workflows/sdk_test.yml @@ -9,6 +9,9 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Gradle cache + uses: gradle/gradle-build-action@v2 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -18,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 @@ -55,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