Use common test scripts for more tests by Yay295 · Pull Request #8396 · python-pillow/Pillow

@Yay295

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

radarhere

- '%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

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.

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.

radarhere

radarhere

nulano

@Yay295

@Yay295

nulano

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.

radarhere

@radarhere

@Yay295 Yay295 deleted the common_test_script branch

September 23, 2024 06:01