Skip to content

Commit

Permalink
fix: Android screenshot test workflow regeneration
Browse files Browse the repository at this point in the history
Prevents unnecessary screenshot regeneration on every commit by:
- Removing clean task from verification
- Only running comparison on verification failure
  • Loading branch information
thomaskioko committed Dec 23, 2024
1 parent 602dbd4 commit 3314789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,11 @@ jobs:
- name: Roborazzi screenshot tests
id: screenshotsverify
continue-on-error: true
run: ./gradlew clean verifyRoborazziDebug
run: ./gradlew verifyRoborazziDebug

- name: Generate Roborazzi screenshot Report
id: screenshots-report
if: steps.screenshotsverify.outcome == 'failure'
continue-on-error: true
run: ./gradlew compareRoborazziDebug

Expand Down

0 comments on commit 3314789

Please sign in to comment.