From 24f840c8b5a2769003a508f2da1a67d5e2f15078 Mon Sep 17 00:00:00 2001 From: Yash Khare Date: Sun, 26 Apr 2020 13:24:02 +0530 Subject: [PATCH] test --- .github/workflows/coverage.yml | 1 - contrib/instrumentation.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c2b4d09ba..b650b0c6a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -30,7 +30,6 @@ jobs: api-level: ${{ matrix.api-level }} arch: x86_64 script: bash contrib/instrumentation.sh - run: adb shell screencap -p /sdcard/screencap.png && adb pull /sdcard/screencap.png && find screencap.png - name: Upload screenshot result uses: actions/upload-artifact@v1 diff --git a/contrib/instrumentation.sh b/contrib/instrumentation.sh index 16fa304b9..a0ecff657 100644 --- a/contrib/instrumentation.sh +++ b/contrib/instrumentation.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash +adb shell screencap -p /sdcard/screencap.png +adb pull /sdcard/screencap.png +find screencap.png adb logcat -c adb logcat *:E -v color & ./gradlew jacocoInstrumentationTestReport