Publish the resulted diffs as github artifacts

Which makes it easier to inspect after CI run failures.
This commit is contained in:
Alexis Métaireau 2025-03-10 15:45:05 +01:00
parent 2d321bf257
commit bbc90be217
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -473,3 +473,11 @@ jobs:
# file successfully.
xvfb-run -s '-ac' ./dev_scripts/env.py --distro ${{ matrix.distro }} --version ${{ matrix.version }} run --dev \
bash -c 'cd dangerzone; poetry run make test'
- name: Upload PDF diffs
uses: actions/upload-artifact@v4
with:
name: pdf-diffs-${{ matrix.distro }}-${{ matrix.version }}
path: tests/test_docs/diffs/*.jpeg
# Always run this step to publish test results, even on failures
if: ${{ always() }}