Update plugin app.cash.paparazzi to v1.3.5 #466
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
branches: [ "main" ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build | |
run: ./gradlew build verifyPaparazziDebug -PskipRelease | |
- name: Publish Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: '**/build/test-results/**/*.xml' | |
- name: Upload screenshot delta artifacts | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: screenshot-deltas | |
path: './**/build/paparazzi/failures/delta-*.png' | |
if-no-files-found: ignore | |
- name: Annotate workflow run with screenshot deltas | |
if: failure() | |
uses: edunad/[email protected] | |
with: | |
path: './**/build/paparazzi/failures/delta-*.png' | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
title: 'Failed screenshot tests 🙀' | |
annotationLevel: 'failure' |