From b04c3dc7b2191f7c2bb6aaf72cacc289feda411b Mon Sep 17 00:00:00 2001 From: Jaehwa Noh Date: Tue, 28 Jan 2025 09:59:10 +0900 Subject: [PATCH] Uninstall apk before run test. --- .github/workflows/Build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index 8a049dda8..8975ee188 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -225,7 +225,8 @@ jobs: disable-animations: true disk-size: 6000M heap-size: 600M - script: ./gradlew connectedDemoDebugAndroidTest --daemon + script: | + /usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell pm uninstall com.google.samples.apps.nowinandroid.demo.debug; ./gradlew connectedDemoDebugAndroidTest --daemon; - name: Run local tests (including Roborazzi) for the combined coverage report (only API 30) if: matrix.api-level == 30