From 4893a4c1cdd77ad791e494afe5ec82573d3bab0a 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 0c32c9c..3dd288d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -471,6 +471,14 @@ 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() }} check-reproducibility: runs-on: ubuntu-latest