From 4039a710e7240c2d2a57881cecae75b17f7f74ce Mon Sep 17 00:00:00 2001 From: Danijel Markov Date: Mon, 19 Jan 2026 04:27:30 +0100 Subject: [PATCH] Update screenshot diff handling in CI workflow Modify the CI workflow to log screenshot diffs without failing the job. --- .github/workflows/Android-CI.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Android-CI.yml b/.github/workflows/Android-CI.yml index c1bd2eb65..b2f52219a 100644 --- a/.github/workflows/Android-CI.yml +++ b/.github/workflows/Android-CI.yml @@ -88,12 +88,16 @@ jobs: name: Chart-Screenshots-diffs-${{ matrix.api }}-${{ matrix.tag }}-${{ matrix.abi }}-${{ matrix.emulatorApi }} path: | screenshotDiffs + - name: Show git status if: ${{ always() }} run: | git add screenshotsToCompare${{ matrix.emulatorApi }} git status - [ "$(git status -s -uno)" ] && exit 1 || exit 0 + # Do not fail the job on screenshot diffs — log them for manual inspection + if [ "$(git status -s -uno)" ]; then + echo "Screenshot diffs detected. See artifacts/screenshotDiffs for details." + fi Check: name: Check runs-on: ${{ matrix.os }}