From 5a406ae0874fcee2fbf7aad7305cf1d4d234399c Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Sat, 27 Feb 2021 18:50:49 +0100 Subject: [PATCH] Install location --- .github/workflows/Android-CI.yml | 52 ++++++++++++++++---------------- app/src/main/AndroidManifest.xml | 1 + 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/.github/workflows/Android-CI.yml b/.github/workflows/Android-CI.yml index f9ca944..e356c53 100644 --- a/.github/workflows/Android-CI.yml +++ b/.github/workflows/Android-CI.yml @@ -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/upload-artifact@v2.1.4 - # 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/upload-artifact@v2.1.4 - # 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/upload-artifact@v2.1.4 + 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/upload-artifact@v2.1.4 + if: ${{ always() }} + with: + name: MediaPipe-Screenshots + path: applications/screenshots/adb/ - name: cleanup keystore run: ./signing/cleanup.sh Check: @@ -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 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4888183..c732542 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -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"