Browse Source
Add action to save Output Images for failed tests
pull/1452/head
AlexNDRmac
5 years ago
No known key found for this signature in database
GPG Key ID: ECCF738337BCF66F
1 changed files with
7 additions and
0 deletions
-
.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') |
|
|
|
|