Skip to content

Commit ec80ad9

Browse files
authored
Update main.yml
1 parent 59d831f commit ec80ad9

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
api-level: [23]
1818
target: [default]
1919
arch: [x86]
20-
#exclude:
21-
#include:
2220

2321
steps:
2422
- name: Checkout
@@ -43,10 +41,10 @@ jobs:
4341
~/.android/debug.keystore
4442
key: avd-${{ matrix.api-level }}-macos-latest-${{ matrix.target }}
4543

46-
# - name: assemble tests
47-
# uses: gradle/gradle-build-action@v2.8.1
48-
# with:
49-
# arguments: assembleAndroidTest
44+
- name: Assemble Tests
45+
uses: gradle/gradle-build-action@v2.8.1
46+
with:
47+
arguments: assembleAndroidTest
5048

5149
- name: Run Emulator to Generate Snapshot for Caching
5250
if: steps.avd-cache.outputs.cache-hit != 'true'
@@ -60,16 +58,9 @@ jobs:
6058
force-avd-creation: false
6159
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
6260
disable-animations: false
63-
pre-emulator-launch-script: |
64-
echo "Running pre-emulator launch script. Printing the working directory now:"
65-
pwd
66-
script: |
67-
echo $GITHUB_REPOSITORY
68-
adb devices
69-
./gradlew testKotlinSuite
61+
script: echo "Generated AVD snapshot for caching."
7062

71-
- name: Start New Android Emulator Runner
72-
if: steps.avd-cache.outputs.cache-hit == 'true'
63+
- name: Run TestCase Action
7364
uses: ReactiveCircus/android-emulator-runner@v2.28.0
7465
with:
7566
api-level: ${{ matrix.api-level }}

0 commit comments

Comments
 (0)