From 96a47a09ad95827d851ec0f7ac48bf87206c2c10 Mon Sep 17 00:00:00 2001 From: James R Swift Date: Sun, 14 Jul 2024 18:41:49 +0100 Subject: [PATCH] Retain diff files as artefacts --- .github/workflows/tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index adf0cd7..5ea71bc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -52,6 +52,16 @@ jobs: - name: Run test suite run: just test + - name: Archive diffs + uses: actions/upload-artifact@v4 + if: always() + with: + name: diffs + path: | + tests/**/diff/*.png + tests/**/out/*.png + retention-days: 5 + - name: Build docs if: ${{ matrix.doc }} run: just doc