Skip to content

Commit a1338eb

Browse files
committed
Make artefacts available even when pytest fails.
This is to see why the pybind11 3.0.1 build segfaults at the end of pytest. https://stackoverflow.com/questions/58858429/how-to-run-a-github-actions-step-even-if-the-previous-step-fails-while-still-f
1 parent e8c1615 commit a1338eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
CIBW_TEST_SKIP: "*-macosx_arm64"
5656

5757
- uses: actions/upload-artifact@v4
58+
if: always()
5859
with:
5960
name: wheel-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.cp }}
6061
path: ./wheelhouse/*.whl
@@ -103,6 +104,7 @@ jobs:
103104
CIBW_TEST_SKIP: "*-macosx_arm64"
104105

105106
- uses: actions/upload-artifact@v4
107+
if: always()
106108
with:
107109
name: wheel-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.cp }}
108110
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)