Skip to content

Commit 0c6070c

Browse files
committed
ci: optimize workflow for unit tests
1 parent b78acf7 commit 0c6070c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/android-unit-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,10 @@ jobs:
2525
with:
2626
java-version: '17'
2727
distribution: 'temurin'
28+
cache: gradle
2829

2930
- name: Set up Gradle
3031
uses: gradle/actions/setup-gradle@50e97c2cd7a37755bbfafc9c5b7cafaece252f6e #v6.1.0
3132

32-
- name: Build with Gradle
33-
run: ./gradlew assembleDebug
34-
3533
- name: Run unit tests
36-
run: ./gradlew testDebugUnitTest testMdmDebugUnitTest --continue
34+
run: ./gradlew testDebugUnitTest testMdmDebugUnitTest --build-cache --configuration-cache --continue

0 commit comments

Comments
 (0)