Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit f708a24

Browse files
authored
Merge pull request #370 from radarhere/test-images
Use test-images repository
2 parents 4fed5a6 + f3368ea commit f708a24

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

config.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,10 @@ function run_tests {
147147
if [ -n "$IS_MACOS" ]; then
148148
brew install fribidi
149149
elif [ -n "$IS_ALPINE" ]; then
150-
apk add fribidi
150+
apk add curl fribidi
151151
else
152-
apt-get install libfribidi0
152+
apt-get update
153+
apt-get install -y curl libfribidi0 unzip
153154
fi
154155
if [[ $(uname -m) == "i686" ]]; then
155156
if [[ "$MB_PYTHON_VERSION" != 3.11 ]]; then
@@ -159,7 +160,9 @@ function run_tests {
159160
python3 -m pip install numpy
160161
fi
161162

162-
mv ../pillow-depends-main/test_images/* ../Pillow/Tests/images
163+
curl -fsSL -o pillow-test-images.zip https://github.com/python-pillow/test-images/archive/main.zip
164+
untar pillow-test-images.zip
165+
mv test-images-main/* ../Pillow/Tests/images
163166

164167
# Runs tests on installed distribution from an empty directory
165168
(cd ../Pillow && run_tests_in_repo)

0 commit comments

Comments
 (0)