mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-27 01:00:33 +03:00
Upload errors on failure
This commit is contained in:
parent
4be3b760f2
commit
8d2c56ec1f
19
.github/workflows/test-cygwin.yml
vendored
19
.github/workflows/test-cygwin.yml
vendored
|
@ -62,6 +62,18 @@ jobs:
|
|||
run: |
|
||||
bash.exe xvfb-run -s '-screen 0 1024x768x24' .ci/test.sh
|
||||
|
||||
- name: Prepare to upload errors
|
||||
if: failure()
|
||||
run: |
|
||||
mkdir -p Tests/errors
|
||||
|
||||
- name: Upload errors
|
||||
uses: actions/upload-artifact@v2
|
||||
if: failure()
|
||||
with:
|
||||
name: errors
|
||||
path: Tests/errors
|
||||
|
||||
- name: After success
|
||||
run: |
|
||||
bash.exe .ci/after_success.sh
|
||||
|
@ -73,13 +85,6 @@ jobs:
|
|||
flags: GHA_Cygwin
|
||||
name: Cygwin Python 3.${{ matrix.python-minor-version }} ${{ matrix.architecture }}
|
||||
|
||||
- name: After failure
|
||||
if: failure()
|
||||
run: |
|
||||
C:\tools\cygwin\bin\uname -a
|
||||
C:\tools\cygwin\bin\python3.8 -m pip list
|
||||
C:\tools\cygwin\bin\python3.8 -m pip show --files Pillow
|
||||
|
||||
success:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue
Block a user