Skip to content

Conversation

@Yay295
Copy link
Contributor

@Yay295 Yay295 commented Sep 19, 2024

Add a CI test script for Windows, and update appveyor, mingw, and windows to use the common test scripts.

- '%PYTHON%\%EXECUTABLE% -m pytest -vx --cov PIL --cov Tests --cov-report term --cov-report xml Tests'
#- '%PYTHON%\%EXECUTABLE% test-installed.py -v -s %TEST_OPTIONS%' TODO TEST_OPTIONS with pytest?
- PATH %PYTHON%;%PATH%
- .ci\test.cmd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. A minor concern perhaps, but your new version uses a hardcoded value for the Python executable, rather than the configuration from earlier in the file.

EXECUTABLE: python.exe

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of the test environments use a hardcoded executable name, and even in this file %EXECUTABLE% is always python.exe.

Copy link
Contributor

@nulano nulano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still some unexpected skipped tests, but that is caused by #8302, not this PR.

@hugovk hugovk merged commit 731bcda into python-pillow:main Sep 23, 2024
@Yay295 Yay295 deleted the common_test_script branch September 23, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants