Skip to content

Commit 479d583

Browse files
committed
add MSYS coverage
1 parent 0292910 commit 479d583

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/test-windows.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@ jobs:
426426
${{ matrix.package }}-python3-olefile \
427427
${{ matrix.package }}-libjpeg-turbo \
428428
${{ matrix.package }}-libimagequant
429-
python3 -m pip install -U pip codecov
430429
431430
- name: Build Pillow
432431
run: |
@@ -436,4 +435,14 @@ jobs:
436435
run: |
437436
python3 selftest.py --installed
438437
python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
439-
codecov --file coverage.xml --name MSYS2 ${{ matrix.mingw }}
438+
439+
- name: After success
440+
run: |
441+
.ci/after_success.sh
442+
443+
- name: Upload coverage
444+
uses: codecov/codecov-action@v1
445+
with:
446+
file: ./coverage.xml
447+
flags: GHA_Windows
448+
name: MSYS2 ${{ matrix.mingw }}

0 commit comments

Comments
 (0)