Skip to content

feat(sdds-acore/uikit):Support for Checkable interface in Button #200

feat(sdds-acore/uikit):Support for Checkable interface in Button

feat(sdds-acore/uikit):Support for Checkable interface in Button #200

name: 'Verify screenshots'
on:
workflow_dispatch:
pull_request:
branches:
- main
- develop
- feature/*
- release/*
- hotfix/*
concurrency:
# New commit on branch cancels running workflows of the same branch
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
test:
runs-on: macos-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Prepare environment
uses: ./.github/actions/prepare-android-env
- name: verify screenshots-compose
id: verify-test
run: |
# If there is a difference between the screenshots, the test will fail.
./gradlew :playground:sandbox-compose:verifyRoborazzi --stacktrace
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: screenshot-diff-compose
path: playground/sandbox-compose/build/outputs/roborazzi
retention-days: 30
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: screenshot-diff-reports-compose
path: playground/sandbox-compose/build/reports
retention-days: 30
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: screenshot-diff-test-results-compose
path: playground/sandbox-compose/build/test-results
retention-days: 30
- name: verify screenshots-view-system
id: verify-test-view-system
run: |
# If there is a difference between the screenshots, the test will fail
./gradlew :playground:sandbox:verifyRoborazzi --stacktrace
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: screenshot-diff
path: playground/sandbox/build/outputs/roborazzi
retention-days: 30
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: screenshot-diff-reports
path: playground/sandbox/build/reports
retention-days: 30
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: screenshot-diff-test-results
path: playground/sandbox/build/test-results
retention-days: 30