mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Merge pull request #4379 from radarhere/errors
Ensure that errors directory exists before trying to upload from it
This commit is contained in:
commit
a64d0c9945
6
.github/workflows/test-windows.yml
vendored
6
.github/workflows/test-windows.yml
vendored
|
@ -338,6 +338,12 @@ jobs:
|
||||||
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
|
%PYTHON%\python.exe -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
|
- name: Prepare to upload errors
|
||||||
|
if: failure()
|
||||||
|
run: |
|
||||||
|
mkdir -p Tests/errors
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
- name: Upload errors
|
- name: Upload errors
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -76,6 +76,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
.ci/test.sh
|
.ci/test.sh
|
||||||
|
|
||||||
|
- name: Prepare to upload errors
|
||||||
|
if: failure()
|
||||||
|
run: |
|
||||||
|
mkdir -p Tests/errors
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
- name: Upload errors
|
- name: Upload errors
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user