Pillow/.ci/test.sh
DWesl 7fd3e9977e CI: Make sure correct version of python is used for testing.
Cygwin is trying to use the highest-available Python version.
One of the Python packages has scripts in /usr/bin that should be in the python39- subpackage.
2021-12-11 15:59:45 -05:00

8 lines
154 B
Bash
Executable File

#!/bin/bash
set -e
python3$1 -c "from PIL import Image"
python3$1 -bb -m pytest -v -x -W always --cov PIL --cov Tests --cov-report term Tests $REVERSE