File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ test_script:
45
45
- cd c:\pillow
46
46
- ' %PYTHON%\%EXECUTABLE% -m pip install pytest pytest-cov'
47
47
- c:\"Program Files (x86)"\"Windows Kits"\10\Debuggers\x86\gflags.exe /p /enable %PYTHON%\%EXECUTABLE%
48
+ - ' %PYTHON%\%EXECUTABLE% -c "from PIL import Image"'
48
49
- ' %PYTHON%\%EXECUTABLE% -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests'
49
50
# - '%PYTHON%\%EXECUTABLE% test-installed.py -v -s %TEST_OPTIONS%' TODO TEST_OPTIONS with pytest?
50
51
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
- python -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests
5
+ python3 -c " from PIL import Image"
6
+
7
+ python3 -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ jobs:
273
273
- name : Test Pillow
274
274
run : |
275
275
python3 selftest.py --installed
276
+ python3 -c "from PIL import Image"
276
277
python3 -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests
277
278
278
279
- name : Upload coverage
You can’t perform that action at this time.
0 commit comments