workflow: Pytest also upload artifacts on test failure

This commit is contained in:
Dominique Lasserre
2024-12-22 10:36:36 +01:00
committed by Andreas
parent afa5cc7c02
commit 3c646fcd66
+1
View File
@@ -30,6 +30,7 @@ jobs:
- name: Upload test artifacts - name: Upload test artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: success() || failure()
with: with:
name: optimize-results name: optimize-results
path: tests/testdata/new_optimize_result* path: tests/testdata/new_optimize_result*