diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index fb2b4d5d..a83dde91 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -59,6 +59,7 @@ jobs: - name: Upload test artifacts uses: actions/upload-artifact@v4 + if: failure() with: name: image-references path: tests/reference_failures/