From bbc90be217cd1ed459bf1ec9a3bd09db067054f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 10 Mar 2025 15:45:05 +0100 Subject: [PATCH] Publish the resulted diffs as github artifacts Which makes it easier to inspect after CI run failures. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7515f3a..ee7bd73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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() }}