From 6aa2112da1db0c4d14d9644f71226948dea11661 Mon Sep 17 00:00:00 2001 From: Dominique Lasserre Date: Sat, 21 Dec 2024 18:09:07 +0100 Subject: [PATCH] workflow: Pytest also upload artifacts on test failure --- .github/workflows/pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 5f2254a..c0f1f75 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -30,6 +30,7 @@ jobs: - name: Upload test artifacts uses: actions/upload-artifact@v4 + if: success() || failure() with: name: optimize-results path: tests/testdata/new_optimize_result*