Skip to content

Commit

Permalink
Install location
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed May 28, 2022
1 parent aea45c9 commit 5a406ae
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/Android-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,31 +36,31 @@ jobs:
VERSION: ${{steps.tagger.outputs.tag}}
- name: Run tests
run: ./gradlew test -Ponly_x86_64
# - name: Run instrumentation tests
# uses: malinskiy/action-android/emulator-run-cmd@release/0.1.2
# with:
# cmd: ./gradlew cAT -Ponly_x86_64 --continue
# api: 28
# tag: default
# abi: arm64-v8a
# - name: Archive Espresso results
# uses: actions/[email protected]
# if: ${{ always() }}
# with:
# name: MediaPipe-Espresso-report
# path: applications/**/build/reports/androidTests/connected/
# - name: Save logcat output
# uses: actions/upload-artifact@master
# if: failure()
# with:
# name: MediaPipe-logcat
# path: artifacts/logcat.log
# - name: Archive screenshots
# uses: actions/[email protected]
# if: ${{ always() }}
# with:
# name: MediaPipe-Screenshots
# path: applications/screenshots/adb/
- name: Run instrumentation tests
uses: malinskiy/action-android/emulator-run-cmd@release/0.1.2
with:
cmd: ./gradlew cAT -Ponly_x86_64 --continue
api: 28
tag: default
abi: arm64-v8a
- name: Archive Espresso results
uses: actions/[email protected]
if: ${{ always() }}
with:
name: MediaPipe-Espresso-report
path: applications/**/build/reports/androidTests/connected/
- name: Save logcat output
uses: actions/upload-artifact@master
if: failure()
with:
name: MediaPipe-logcat
path: artifacts/logcat.log
- name: Archive screenshots
uses: actions/[email protected]
if: ${{ always() }}
with:
name: MediaPipe-Screenshots
path: applications/screenshots/adb/
- name: cleanup keystore
run: ./signing/cleanup.sh
Check:
Expand All @@ -75,7 +75,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11.0.3
java-version: 11
- name: Install Android SDK
uses: malinskiy/action-android/install-sdk@release/0.1.2
- name: Code checks
Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
android:name=".HandApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:installLocation="auto"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
Expand Down

0 comments on commit 5a406ae

Please sign in to comment.