feat: add Compose Preview Screenshot Testing infrastructure (#5410)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
James Rich
2026-05-11 21:18:23 -05:00
committed by GitHub
parent 7202994abe
commit 85c840de32
294 changed files with 6976 additions and 1310 deletions

View File

@@ -35,6 +35,7 @@ jobs:
- 'desktop/**'
- 'core/**'
- 'feature/**'
- 'screenshot-tests/**'
# Shared build infrastructure
- 'build-logic/**'
- 'config/**'

View File

@@ -103,6 +103,20 @@ jobs:
if: inputs.run_lint == false
run: ./gradlew kmpSmokeCompile -Pci=true --continue --scan
- name: Screenshot Test Validation
id: screenshot-validation
if: inputs.run_lint == true
run: ./gradlew :screenshot-tests:validateDebugScreenshotTest -Pci=true --scan
- name: Upload screenshot diff report
if: always() && steps.screenshot-validation.outcome == 'failure'
uses: actions/upload-artifact@v7
with:
name: screenshot-diff-report
path: screenshot-tests/build/reports/screenshotTest/
retention-days: 14
if-no-files-found: warn
# ── Reproducible Build Verification ─────────────────────────────────
rb-check:
runs-on: ubuntu-24.04