From f3368eac3a48c85f4f74fa30e26d54246f23df73 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 11 Feb 2023 18:22:28 +1100 Subject: [PATCH] Use test-images repository --- config.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.sh b/config.sh index bccb12d51..e9b233423 100644 --- a/config.sh +++ b/config.sh @@ -147,9 +147,10 @@ function run_tests { if [ -n "$IS_MACOS" ]; then brew install fribidi elif [ -n "$IS_ALPINE" ]; then - apk add fribidi + apk add curl fribidi else - apt-get install libfribidi0 + apt-get update + apt-get install -y curl libfribidi0 unzip fi if [[ $(uname -m) == "i686" ]]; then if [[ "$MB_PYTHON_VERSION" != 3.11 ]]; then @@ -159,7 +160,9 @@ function run_tests { python3 -m pip install numpy fi - mv ../pillow-depends-main/test_images/* ../Pillow/Tests/images + curl -fsSL -o pillow-test-images.zip https://github.com/python-pillow/test-images/archive/main.zip + untar pillow-test-images.zip + mv test-images-main/* ../Pillow/Tests/images # Runs tests on installed distribution from an empty directory (cd ../Pillow && run_tests_in_repo)