From e1441e0e3464428d99ae63662990c0dbe9d7e0c3 Mon Sep 17 00:00:00 2001 From: Vinay Gaba Date: Thu, 6 Jun 2024 23:21:40 -0700 Subject: [PATCH] Only do 26 --- .github/workflows/android.yml | 52 +++++++++++++++++------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 79476bde..02e3e0bb 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - api-level: [ 26, 33 ] + api-level: [ 26 ] target: [ default, google_apis ] steps: @@ -119,38 +119,38 @@ jobs: disable-animations: true script: ./gradlew connectedCheck --no-daemon --stacktrace -PuseKsp=true -# - name: Run Screenshot Tests -# uses: reactivecircus/android-emulator-runner@v2 -# with: -# api-level: ${{ matrix.api-level }} -# force-avd-creation: false -# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -# disable-animations: true -# script: ./gradlew executeScreenshotTests -PdirectorySuffix=Api${{ matrix.api-level }} -PprintBase64 -# -# -# - name: Upload screenshot testing report -# uses: actions/upload-artifact@v4 -# with: -# name: reports-${{ matrix.api-level }}-${{ matrix.target }} -# path: sample/build/reports/shot/debug/Api${{ matrix.api-level }}/verification/ -# retention-days: 1 - -# Uncomment the jobs below if you want to generate and record screenshots. Once you download the -# artifact, place them under sample/screenshots/debug/ - - - name: Record screenshots + - name: Run Screenshot Tests uses: reactivecircus/android-emulator-runner@v2 with: api-level: ${{ matrix.api-level }} force-avd-creation: false emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none disable-animations: true - script: ./gradlew executeScreenshotTests -PdirectorySuffix=Api${{ matrix.api-level }}-${{ matrix.target }} -Precord + script: ./gradlew executeScreenshotTests -PdirectorySuffix=Api${{ matrix.api-level }} -PprintBase64 - - name: Upload screenshots in an artifact + + - name: Upload screenshot testing report uses: actions/upload-artifact@v4 with: - name: Api${{ matrix.api-level }}-${{ matrix.target }} - path: sample/screenshots/debug/Api${{ matrix.api-level }}-${{ matrix.target }} + name: reports-${{ matrix.api-level }}-${{ matrix.target }} + path: sample/build/reports/shot/debug/Api${{ matrix.api-level }}/verification/ retention-days: 1 + +# Uncomment the jobs below if you want to generate and record screenshots. Once you download the +# artifact, place them under sample/screenshots/debug/ + +# - name: Record screenshots +# uses: reactivecircus/android-emulator-runner@v2 +# with: +# api-level: ${{ matrix.api-level }} +# force-avd-creation: false +# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none +# disable-animations: true +# script: ./gradlew executeScreenshotTests -PdirectorySuffix=Api${{ matrix.api-level }}-${{ matrix.target }} -Precord +# +# - name: Upload screenshots in an artifact +# uses: actions/upload-artifact@v4 +# with: +# name: Api${{ matrix.api-level }}-${{ matrix.target }} +# path: sample/screenshots/debug/Api${{ matrix.api-level }}-${{ matrix.target }} +# retention-days: 1