install pyheif from pypi #107
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | ||
jobs: | ||
check: | ||
name: py${{ matrix.python }} pillow-${{ matrix.pillow }} libheif-${{ matrix.libheif }} no-binary-${{ matrix.no-binary }} | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 3 | ||
strategy: | ||
matrix: | ||
python: ['3.8', '3.11'] | ||
pillow: [prod, latest] | ||
libheif: ['1.16.2-6ee6762-3f6b709', '1.18.2-bf35e9e-47f4fc0'] | ||
no-binary: ['pyheif', ':none:'] | ||
exclude: | ||
- python: '3.11' | ||
no-binary: ':none:' | ||
- libheif: '1.18.2-bf35e9e-47f4fc0' | ||
no-binary: ':none:' | ||
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_${{ matrix.libheif }}_$(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-pillow-${{ matrix.pillow }} no-binary=${{ no-binary }} | ||
Check failure on line 35 in .github/workflows/Check.yml GitHub Actions / .github/workflows/Check.ymlInvalid workflow file
|
||
- name: Check | ||
run: make check | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
fail_ci_if_error: true | ||
verbose: true | ||
token: ${{ secrets.CODECOV_TOKEN }} |