From 580c26c3a4c42a4509e7cbee0e2ca7f6c3018cee Mon Sep 17 00:00:00 2001 From: MLopez-Ibanez <2620021+MLopez-Ibanez@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:38:54 +0000 Subject: [PATCH] upload failed tests for examination --- .github/workflows/test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 60eecb1..4658e05 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,5 +62,12 @@ jobs: git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" git add example.pdf (git commit -m "Recreate example.pdf [skip ci]" && git pull --rebase && git push origin) || echo "No changes to commit" - + + - name: Upload test results + if: failure() + uses: actions/upload-artifact@v4 + with: + name: test-failures + path: *.png + - run: echo "🍏 This job's status is ${{ job.status }}."