From 51c7b50372aea1d59af60a1f54276c686a40f5ee Mon Sep 17 00:00:00 2001 From: Antonio Britto Date: Wed, 24 Jan 2024 11:32:55 -0300 Subject: [PATCH] try uninstall the apk before running tests again --- .github/workflows/emulator_script.sh | 3 +++ action.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 .github/workflows/emulator_script.sh diff --git a/.github/workflows/emulator_script.sh b/.github/workflows/emulator_script.sh new file mode 100755 index 0000000..21dd969 --- /dev/null +++ b/.github/workflows/emulator_script.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +adb uninstall com.betrybe.sociallogin.test +./gradlew connectedCheck diff --git a/action.yml b/action.yml index a37a7bf..d52227a 100644 --- a/action.yml +++ b/action.yml @@ -77,7 +77,8 @@ runs: emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true api-level: 29 - script: ./gradlew connectedCheck + # script: ./gradlew connectedCheck + script: ./.github/workflows/emulator_script.sh - name: Get JUnit results id: get_junit_results