From e7739ef86cf57a50324f001f8d8812bc7c3885a9 Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Fri, 15 Mar 2024 01:20:32 +0100 Subject: [PATCH] Move uninstall all to emulator job --- .github/workflows/pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0de33eaa..dd475ca4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -77,7 +77,7 @@ jobs: android: false - name: Compile instrumented tests - run: ./gradlew --build-cache assembleDebugAndroidTest uninstallAll + run: ./gradlew --build-cache assembleDebugAndroidTest # Retrieve the cached emulator snapshot. - name: AVD cache @@ -116,6 +116,7 @@ jobs: ram-size: 4096M emulator-options: -no-window -no-snapshot-save -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none script: | + ./gradlew uninstallAll ./gradlew --build-cache connectedDebugAndroidTest - name: Upload artifacts