Skip to content

Commit

Permalink
Only do 26
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaygaba committed Jun 7, 2024
1 parent b6cc1e5 commit e1441e0
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
api-level: [ 26, 33 ]
api-level: [ 26 ]
target: [ default, google_apis ]

steps:
Expand Down Expand Up @@ -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

0 comments on commit e1441e0

Please sign in to comment.