@@ -44,16 +44,20 @@ jobs:
4444 steps :
4545 - name : Checkout Pillow
4646 uses : actions/checkout@v4
47+ with :
48+ persist-credentials : false
4749
4850 - name : Checkout cached dependencies
4951 uses : actions/checkout@v4
5052 with :
53+ persist-credentials : false
5154 repository : python-pillow/pillow-depends
5255 path : winbuild\depends
5356
5457 - name : Checkout extra test images
5558 uses : actions/checkout@v4
5659 with :
60+ persist-credentials : false
5761 repository : python-pillow/test-images
5862 path : Tests\test-images
5963
@@ -69,16 +73,14 @@ jobs:
6973 - name : Print build system information
7074 run : python3 .github/workflows/system-info.py
7175
72- - name : Install Python dependencies
73- run : >
74- python3 -m pip install
75- coverage>=7.4.2
76- defusedxml
77- olefile
78- pyroma
79- pytest
80- pytest-cov
81- pytest-timeout
76+ - name : Upgrade pip
77+ run : |
78+ python3 -m pip install --upgrade pip
79+
80+ - name : Install CPython dependencies
81+ if : " !contains(matrix.python-version, 'pypy')"
82+ run : |
83+ python3 -m pip install PyQt6
8284
8385 - name : Install dependencies
8486 id : install
@@ -178,7 +180,7 @@ jobs:
178180 - name : Build Pillow
179181 run : |
180182 $FLAGS="-C raqm=vendor -C fribidi=vendor"
181- cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS ."
183+ cmd /c "winbuild\build\build_env.cmd && $env:pythonLocation\python.exe -m pip install -v $FLAGS .[tests] "
182184 & $env:pythonLocation\python.exe selftest.py --installed
183185 shell : pwsh
184186
0 commit comments