Skip to content

Commit bb52af0

Browse files
committed
ci: Upload result images if tests fail.
1 parent ea09d95 commit bb52af0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,9 @@ jobs:
222222
if: ${{ runner.os != 'macOS' }}
223223
- name: Upload code coverage
224224
uses: codecov/codecov-action@v1
225+
226+
- uses: actions/upload-artifact@v2
227+
if: failure()
228+
with:
229+
name: "${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }} result images"
230+
path: ./result_images

0 commit comments

Comments
 (0)