File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,8 @@ test_script:
5353- cd c:\pillow
5454- ' %PYTHON%\%EXECUTABLE% -m pip install pytest pytest-cov pytest-timeout defusedxml ipython numpy olefile pyroma'
5555- c:\"Program Files (x86)"\"Windows Kits"\10\Debuggers\x86\gflags.exe /p /enable %PYTHON%\%EXECUTABLE%
56- - ' %PYTHON%\%EXECUTABLE% -c "from PIL import Image"'
57- - ' %PYTHON%\%EXECUTABLE% -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests'
58- # - '%PYTHON%\%EXECUTABLE% test-installed.py -v -s %TEST_OPTIONS%' TODO TEST_OPTIONS with pytest?
56+ - path %PYTHON%;%PATH%
57+ - .ci\test.cmd
5958
6059after_test :
6160- curl -Os https://uploader.codecov.io/latest/windows/codecov.exe
Original file line number Diff line number Diff line change 1+ python.exe -c " from PIL import Image"
2+ IF ERRORLEVEL 1 EXIT /B
3+ python.exe -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term --cov-report xml Tests
Original file line number Diff line number Diff line change 44
55python3 -c " from PIL import Image"
66
7- python3 -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests $REVERSE
7+ python3 -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term --cov-report xml Tests $REVERSE
Original file line number Diff line number Diff line change 8080 - name : Test Pillow
8181 run : |
8282 python3 selftest.py --installed
83- python3 -c "from PIL import Image"
84- python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
83+ .ci/test.sh
8584
8685 - name : Upload coverage
8786 uses : codecov/codecov-action@v4
Original file line number Diff line number Diff line change @@ -190,8 +190,8 @@ jobs:
190190
191191 - name : Test Pillow
192192 run : |
193- path %GITHUB_WORKSPACE%\\ winbuild\\ build\ \bin;%PATH%
194- python.exe -m pytest -vx -W always --cov PIL --cov Tests --cov-report term --cov-report xml Tests
193+ path %GITHUB_WORKSPACE%\winbuild\build\bin;%PATH%
194+ .ci\test.cmd
195195 shell : cmd
196196
197197 - name : Prepare to upload errors
You can’t perform that action at this time.
0 commit comments