Skip to content

Commit 7375df9

Browse files
committed
Ensure tests are running in separate steps
1 parent bc14ddc commit 7375df9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- uses: gradle/actions/setup-gradle@v4 # creates build cache when on main branch
2626
with:
2727
cache-encryption-key: ${{ secrets.gradle_encryption_key }}
28-
gradle-home-cache-cleanup: true # clean up unused files
2928
dependency-graph: generate-and-submit # submit Github Dependency Graph info
3029

3130
- run: ./gradlew --build-cache --configuration-cache compileDebugSources
@@ -46,8 +45,10 @@ jobs:
4645
cache-encryption-key: ${{ secrets.gradle_encryption_key }}
4746
cache-read-only: true
4847

49-
- name: Run lint and unit tests
50-
run: ./gradlew --build-cache --configuration-cache lintDebug testDebugUnitTest
48+
- name: Run lint
49+
run: ./gradlew --build-cache --configuration-cache lintDebug
50+
- name: Run unit tests
51+
run: ./gradlew --build-cache --configuration-cache testDebugUnitTest
5152

5253
test_on_emulator:
5354
needs: compile

0 commit comments

Comments
 (0)