Skip to content

Update PreviewScreenshot to alpha02 #9

Update PreviewScreenshot to alpha02

Update PreviewScreenshot to alpha02 #9

# Workflow name
name: Compose Preview Screenshot
on:
# When it will be triggered
# And in which branch
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '17'
cache: 'gradle'
- name: Build project and run screenshot tests
working-directory: ./ui/PreviewScreenshot
run: ./gradlew validateDebugScreenshotTest
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: '**/build/test-results/'
- name: Upload screenshot tests results
if: always()
uses: actions/upload-artifact@v4
with:
name: reports
path: '**/build/reports/screenshotTest/'