Skip to content

Commit cc13c48

Browse files
committed
Update sdk_test.yml
1 parent 65203dd commit cc13c48

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

Diff for: .github/workflows/sdk_test.yml

+27-23
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v3
1111

12+
- name: Gradle cache
13+
uses: gradle/gradle-build-action@v2
14+
1215
- name: Set up JDK 17
1316
uses: actions/setup-java@v3
1417
with:
@@ -18,26 +21,26 @@ jobs:
1821
- name: Touch local properties
1922
run: touch local.properties
2023

21-
- name: AVD cache
22-
uses: actions/cache@v3
23-
id: avd-cache
24-
with:
25-
path: |
26-
~/.android/avd/*
27-
~/.android/adb*
28-
key: avd-29
24+
# - name: AVD cache
25+
# uses: actions/cache@v3
26+
# id: avd-cache
27+
# with:
28+
# path: |
29+
# ~/.android/avd/*
30+
# ~/.android/adb*
31+
# key: avd-29
2932

30-
- name: create AVD and generate snapshot for caching
31-
if: steps.avd-cache.outputs.cache-hit != 'true'
32-
uses: reactivecircus/android-emulator-runner@v2
33-
with:
34-
api-level: 29
35-
arch: arm64-v8a
36-
force-avd-creation: false
37-
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
38-
disable-animations: false
39-
ram-size: 4096M
40-
script: echo "Generated AVD snapshot for caching."
33+
# - name: create AVD and generate snapshot for caching
34+
# if: steps.avd-cache.outputs.cache-hit != 'true'
35+
# uses: reactivecircus/android-emulator-runner@v2
36+
# with:
37+
# api-level: 29
38+
# arch: arm64-v8a
39+
# force-avd-creation: false
40+
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
41+
# disable-animations: false
42+
# ram-size: 4096M
43+
# script: echo "Generated AVD snapshot for caching."
4144

4245
- name: Setup Gradle
4346
uses: gradle/gradle-build-action@v2
@@ -55,12 +58,13 @@ jobs:
5558
- name: Run Instrumentation Test
5659
uses: reactivecircus/android-emulator-runner@v2
5760
with:
58-
emulator-build: 7425822
59-
api-level: 29
61+
# emulator-build: 7425822
62+
api-level: 30
63+
target: google_apis
6064
arch: x86_64
61-
force-avd-creation: false
65+
# force-avd-creation: false
6266
ram-size: 4096M
63-
script: ./gradlew :xendit-android:connectedCheck --stacktrace --no-daemon
67+
script: ./gradlew :xendit-android:connectedCheck --stacktrace
6468

6569
# notify-slack:
6670
# needs: unit-test

0 commit comments

Comments
 (0)