From 0d181f5aee58b94f4b11550c2696d5507ee40a90 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Fri, 31 Mar 2023 08:03:29 +0200 Subject: [PATCH] Modernize screenshots --- .github/workflows/Android-CI-release.yml | 2 +- .github/workflows/Android-CI.yml | 10 ++-- .idea/codeStyles/Project.xml | 3 -- .../lib/util/pc/IOIOPcApplicationHelper.java | 1 - .../java/ioio/lib/util/pc/IOIOSwingApp.java | 2 +- applications/HelloIOIO/build.gradle | 52 ++---------------- .../ioio/examples/hello/HelloIOIOSmokeTest.kt | 20 +++---- .../HelloIOIO/src/debug/AndroidManifest.xml | 9 ---- applications/HolidayIOIO/build.gradle | 53 +++---------------- .../examples/holiday/HolidayIOIOSmokeTest.kt | 20 ++++--- .../HolidayIOIO/src/debug/AndroidManifest.xml | 9 ---- applications/IOIOManager/build.gradle | 52 ++---------------- .../ioio/manager/AppImageLibrarySmokeTest.kt | 20 +++---- .../IOIOManager/src/debug/AndroidManifest.xml | 9 ---- applications/IOIOSimpleApp/build.gradle | 51 ++---------------- .../examples/simple/IOIOSimpleAppSmokeTest.kt | 19 ++++--- .../src/debug/AndroidManifest.xml | 9 ---- 17 files changed, 69 insertions(+), 272 deletions(-) delete mode 100644 applications/HelloIOIO/src/debug/AndroidManifest.xml delete mode 100644 applications/HolidayIOIO/src/debug/AndroidManifest.xml delete mode 100644 applications/IOIOManager/src/debug/AndroidManifest.xml delete mode 100644 applications/IOIOSimpleApp/src/debug/AndroidManifest.xml diff --git a/.github/workflows/Android-CI-release.yml b/.github/workflows/Android-CI-release.yml index 97af3b659..733df3c7f 100644 --- a/.github/workflows/Android-CI-release.yml +++ b/.github/workflows/Android-CI-release.yml @@ -20,7 +20,7 @@ jobs: distribution: 'adopt' java-version: 11 - name: Install Android SDK - uses: malinskiy/action-android/install-sdk@release/0.1.2 + uses: malinskiy/action-android/install-sdk@release/0.1.4 - name: Build project run: ./gradlew clean build env: diff --git a/.github/workflows/Android-CI.yml b/.github/workflows/Android-CI.yml index 38d2940ac..26ce880f9 100644 --- a/.github/workflows/Android-CI.yml +++ b/.github/workflows/Android-CI.yml @@ -20,13 +20,13 @@ jobs: distribution: 'adopt' java-version: ${{ matrix.java_version }} - name: Install Android SDK - uses: malinskiy/action-android/install-sdk@release/0.1.2 + uses: malinskiy/action-android/install-sdk@release/0.1.4 - name: Run tests run: ./gradlew test env: VERSION: ${{ github.ref }} - name: Run instrumentation tests - uses: malinskiy/action-android/emulator-run-cmd@release/0.1.2 + uses: malinskiy/action-android/emulator-run-cmd@release/0.1.4 env: VERSION: ${{ github.ref }} with: @@ -51,7 +51,9 @@ jobs: if: ${{ always() }} with: name: IOIO-Screenshots - path: applications/screenshots/adb/ + path: | + applications/**/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected + applications/**/build/outputs/androidTest-results/connected Check: name: Check runs-on: ubuntu-latest @@ -66,7 +68,7 @@ jobs: distribution: 'adopt' java-version: 11 - name: Install Android SDK - uses: malinskiy/action-android/install-sdk@release/0.1.2 + uses: malinskiy/action-android/install-sdk@release/0.1.4 - name: Code checks run: ./gradlew check - name: Archive Lint report diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 7722c0c00..76552928a 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -55,9 +55,6 @@ - -