From 4a9aa44058dd349a86063328b3c6f93f807ef4e7 Mon Sep 17 00:00:00 2001 From: Yuri Schimke Date: Thu, 24 Feb 2022 14:15:31 +0000 Subject: [PATCH] Always on emulator fix (#221) --- .github/workflows/AlwaysOnKotlin.yml | 2 +- AlwaysOnKotlin/README.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/AlwaysOnKotlin.yml b/.github/workflows/AlwaysOnKotlin.yml index 6bfa56587..b8215c251 100644 --- a/.github/workflows/AlwaysOnKotlin.yml +++ b/.github/workflows/AlwaysOnKotlin.yml @@ -105,7 +105,7 @@ jobs: force-avd-creation: false avd-name: test disable-animations: true - script: ./gradlew connectedCheck --stacktrace + script: adb emu power ac off; ./gradlew connectedCheck --stacktrace working-directory: ${{ env.SAMPLE_PATH }} - name: Upload views test reports diff --git a/AlwaysOnKotlin/README.md b/AlwaysOnKotlin/README.md index 88ae0600f..02b63ce60 100644 --- a/AlwaysOnKotlin/README.md +++ b/AlwaysOnKotlin/README.md @@ -31,6 +31,7 @@ Pre-requisites -------------- - Android SDK 30 +- Requires AC to be configured off `adb emu power ac off` Screenshots -------------