Skip to content

Commit

Permalink
prefer-binary Pillow for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
bigcat88 committed Oct 8, 2023
1 parent 948217d commit 9f62c4d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test-wheels-pi_heif.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ jobs:

- name: Preparations
run: |
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pi-heif
- name: Test wheel
Expand Down Expand Up @@ -126,7 +127,8 @@ jobs:
- name: Preparations
run: |
brew install libjpeg little-cms2
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pi-heif
- name: Test wheel
Expand Down Expand Up @@ -158,7 +160,8 @@ jobs:
- name: Preparations
run: |
sudo apt update && sudo apt install libjpeg-dev liblcms2-dev
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pi-heif
- name: Test wheel
Expand Down Expand Up @@ -188,7 +191,8 @@ jobs:
- name: Preparations
run: |
brew install libjpeg little-cms2
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pillow-heif
python3 -m pip install --only-binary=:all: pi-heif
Expand Down Expand Up @@ -223,7 +227,8 @@ jobs:
- name: Preparations
run: |
sudo apt update && sudo apt install libjpeg-dev liblcms2-dev
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pillow-heif
python3 -m pip install --only-binary=:all: pi-heif
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:

- name: Preparations
run: |
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pillow_heif
- name: Test wheel
Expand All @@ -120,7 +121,8 @@ jobs:
- name: Preparations
run: |
brew install libjpeg little-cms2
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pillow_heif
- name: Test wheel
Expand Down Expand Up @@ -150,7 +152,8 @@ jobs:
- name: Preparations
run: |
sudo apt update && sudo apt install libjpeg-dev liblcms2-dev
python3 -m pip install pytest pillow packaging defusedxml
python3 -m pip install --prefer-binary pillow
python3 -m pip install pytest packaging defusedxml
python3 -m pip install --only-binary=:all: pillow_heif
- name: Test wheel
Expand Down

0 comments on commit 9f62c4d

Please sign in to comment.