add MSYS coverage

This commit is contained in:
nulano 2020-05-23 19:41:37 +02:00
parent 02929105a8
commit 479d583a4a

View File

@ -426,7 +426,6 @@ jobs:
${{ matrix.package }}-python3-olefile \ ${{ matrix.package }}-python3-olefile \
${{ matrix.package }}-libjpeg-turbo \ ${{ matrix.package }}-libjpeg-turbo \
${{ matrix.package }}-libimagequant ${{ matrix.package }}-libimagequant
python3 -m pip install -U pip codecov
- name: Build Pillow - name: Build Pillow
run: | run: |
@ -436,4 +435,14 @@ jobs:
run: | run: |
python3 selftest.py --installed python3 selftest.py --installed
python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
codecov --file coverage.xml --name MSYS2 ${{ matrix.mingw }}
- name: After success
run: |
.ci/after_success.sh
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: GHA_Windows
name: MSYS2 ${{ matrix.mingw }}