forked from ciotto/pyheif-pillow-opener
-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 1.11 KB
/
Check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on: [push]
jobs:
check:
name: py${{ matrix.python }} pillow-${{ matrix.pillow }} pyheif-${{ matrix.pyheif }}
runs-on: ubuntu-20.04
timeout-minutes: 3
strategy:
matrix:
python: ['3.8', '3.11']
pillow: [prod, latest]
pyheif: [prod, latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install system dependencies
run: |
BUCKET=https://uploadcare-packages.s3.amazonaws.com
curl -fLO $BUCKET/libheif/libheif-uc_1.16.2-6ee6762-3f6b709_$(dpkg --print-architecture).deb
sudo dpkg -i *.deb && rm *.deb
sudo apt install --no-install-recommends -y libjpeg-dev
- name: Update pip
run: pip install pip==23.2.1
- name: Install dependencies
run: make install-pyheif-${{ matrix.pyheif }}-pillow-${{ matrix.pillow }}
- name: Check
run: make check
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
verbose: true