File tree 2 files changed +10
-15
lines changed
2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,20 @@ on: [push]
2
2
3
3
jobs :
4
4
check :
5
- name : py${{ matrix.python }} pillow-${{ matrix.pillow }} libheif-${{ matrix.libheif }} pyheif- ${{ matrix.pyheif }}
5
+ name : py${{ matrix.python }} pillow-${{ matrix.pillow }} libheif-${{ matrix.libheif }} no-binary- ${{ matrix.no-binary }}
6
6
runs-on : ubuntu-20.04
7
7
timeout-minutes : 3
8
8
strategy :
9
9
matrix :
10
10
python : ['3.8', '3.11']
11
11
pillow : [prod, latest]
12
12
libheif : ['1.16.2-6ee6762-3f6b709', '1.18.2-bf35e9e-47f4fc0']
13
- pyheif : ['', '0.8.0 ']
13
+ no-binary : ['pyheif ', ':none: ']
14
14
exclude :
15
15
- python : ' 3.11'
16
- pyheif : ' 0.8.0 '
16
+ no-binary : ' :none: '
17
17
- libheif : ' 1.18.2-bf35e9e-47f4fc0'
18
- pyheif : ' 0.8.0 '
18
+ no-binary : ' :none: '
19
19
20
20
steps :
21
21
- uses : actions/checkout@v2
32
32
- name : Update pip
33
33
run : pip install pip==23.2.1
34
34
- name : Install dependencies
35
- run : make install-pillow-${{ matrix.pillow }}
36
- - name : Install ovsolete pyheif
37
- if : ${{ matrix.pyheif }}
38
- run : |
39
- pip uninstall -y pyheif
40
- pip install pyheif==${{ matrix.pyheif }}
35
+ run : make install-pillow-${{ matrix.pillow }} no-binary=${{ no-binary }}
41
36
- name : Check
42
37
run : make check
43
38
- name : Upload coverage to Codecov
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ docker_build:
24
24
docker_shell : docker_build
25
25
docker run --platform=linux/amd64 --rm -it -v .:/src heif-image-plugin:latest
26
26
27
+ no-binary ?= pyheif
28
+
27
29
.PHONY : install-pillow-latest
28
30
install-pillow-latest :
29
- pip install .[test] \
30
- git+https://github.com/carsales/
[email protected] #egg=pyheif
31
+ pip install --no-binary $(no-binary ) .[test]
31
32
32
33
.PHONY : install-pillow-prod
33
34
install-pillow-prod :
34
- pip install .[test] \
35
+ pip install --no-binary $( no-binary ) .[test] \
35
36
./pip-stubs/pillow \
36
- git+https://github.com/uploadcare/pillow-simd.git@simd/9.5-png-truncated#egg=pillow-simd \
37
- git+https://github.com/carsales/
[email protected] #egg=pyheif
37
+ git+https://github.com/uploadcare/pillow-simd.git@simd/9.5-png-truncated#egg=pillow-simd
You can’t perform that action at this time.
0 commit comments