Browse Source

Add action to save Output Images for failed tests

pull/1452/head
AlexNDRmac 5 years ago
parent
commit
2ffc4e8ce8
No known key found for this signature in database GPG Key ID: ECCF738337BCF66F
  1. 7
      .github/workflows/build-and-test.yml

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

@ -75,6 +75,13 @@ jobs:
CI: True
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit
- name: Store Output Images after failed tests
uses: actions/upload-artifact@v2
if: failure()
with:
name: actual_output_${{ runner.os }}_${{ matrix.options.framework }}${{ matrix.options.runtime }}.zip
path: tests/Images/ActualOutput/
- name: Update Codecov
uses: codecov/codecov-action@v1
if: matrix.options.codecov == true && startsWith(github.repository, 'SixLabors')

Loading…
Cancel
Save