File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -445,20 +445,16 @@ jobs:
445445 - name : Build Pillow
446446 run : |
447447 # libtiff is unable to open files
448- python3 setup.py build_ext --disable-tiff install
448+ CFLAGS="-coverage" python3 setup.py build_ext --disable-tiff install
449449
450450 - name : Test Pillow
451451 run : |
452452 python3 selftest.py --installed
453453 python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
454454
455- - name : After success
456- run : |
457- .ci/after_success.sh
458-
459455 - name : Upload coverage
460- uses : codecov/codecov-action@v1
461- with :
462- file : ./coverage.xml
463- flags : GHA_Windows
464- name : MSYS2 ${{ matrix.mingw }}
456+ run : |
457+ python3 -m pip install codecov
458+ bash <(curl -s https://codecov.io/bash) -F GHA_Windows
459+ env :
460+ CODECOV_NAME : MSYS2 ${{ matrix.mingw }}
You can’t perform that action at this time.
0 commit comments