Skip to content

chore(deps): update test.roborazzi to v1.32.1 #1749

chore(deps): update test.roborazzi to v1.32.1

chore(deps): update test.roborazzi to v1.32.1 #1749

Workflow file for this run

name: Android CI
env:
GRADLE_OPTS: '-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false'
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
on:
pull_request:
paths-ignore: [ '**/**.md', 'website/**' ]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
ci-build:
runs-on: macos-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
steps:
- uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true
cache-write-only: ${{ contains(github.event.pull_request.labels.*.name, 'gradle') }}
cache-read-only: ${{ !contains(github.event.pull_request.labels.*.name, 'gradle') }}
- name: Code style checks
run: ./gradlew ktlintCheck detekt
- name: Run test
run: ./gradlew test --stacktrace
# TODO(anybody): 로컬 환경 이슈가 있어 주석 처리. 추후 해결 방법 있을 시 복원하기
# - name: Verify components snapshot
# run: ./gradlew verifyRoborazziDebug
- name: Cache GMD
if: contains(github.event.pull_request.labels.*.name, 'casa-ui')
uses: actions/cache@v3
with:
path: /Users/runner/Library/Android/sdk/system-images/android-30/aosp_atd/x86
key: ${{ runner.os }}-gmd-${{ hashFiles('**/gmd.kt') }}
restore-keys: ${{ runner.os }}-gmd-
- name: Run ui test on casa-ui module via gmd
if: contains(github.event.pull_request.labels.*.name, 'casa-ui')
run: ./gradlew :casa-ui:pixel4api30aospatdDebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
- name: Run build
run: ./gradlew buildDebug --stacktrace
- name: Upload reports
if: always()
uses: actions/upload-artifact@v3
with:
name: android-reports
retention-days: 7
path: |
**/build/reports/*
- name: Upload screenshot-diffs
if: always()
uses: actions/upload-artifact@v3
with:
name: android-screenshot-diffs
retention-days: 7
path: |
**/snapshots/**/*_compare.png
- name: Upload test results
if: always()
uses: actions/upload-artifact@v3
with:
name: android-test-results
retention-days: 7
path: |
**/build/test-results/*