mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Screenshot with no writing to SD card
This commit is contained in:
parent
159a552b50
commit
edd4631b75
2
.github/workflows/coverage.yml
vendored
2
.github/workflows/coverage.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
script: bash contrib/instrumentation.sh
|
||||
|
||||
- name: Upload screenshot result
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.api-level }}
|
||||
path: screencap.png
|
||||
|
@ -3,6 +3,5 @@
|
||||
adb logcat -c
|
||||
adb logcat *:E -v color &
|
||||
./gradlew jacocoInstrumentationTestReport
|
||||
adb shell screencap -p /sdcard/screencap.png
|
||||
adb pull /sdcard/screencap.png
|
||||
adb exec-out screencap -p > screencap.png
|
||||
find screencap.png
|
||||
|
Loading…
x
Reference in New Issue
Block a user