Skip to content

Commit 14c541c

Browse files
Merge pull request #1452 from AlexNDRmac/ci-save-images-for-failed-jobs
Add action to save Output Images for failed tests
2 parents b27581a + 2ffc4e8 commit 14c541c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ jobs:
7575
CI: True
7676
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit
7777

78+
- name: Store Output Images after failed tests
79+
uses: actions/upload-artifact@v2
80+
if: failure()
81+
with:
82+
name: actual_output_${{ runner.os }}_${{ matrix.options.framework }}${{ matrix.options.runtime }}.zip
83+
path: tests/Images/ActualOutput/
84+
7885
- name: Update Codecov
7986
uses: codecov/codecov-action@v1
8087
if: matrix.options.codecov == true && startsWith(github.repository, 'SixLabors')

0 commit comments

Comments
 (0)