Merge pull request #36 from kcroker/bugfix/tiff_quality #120
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
name: Run tests | |
on: [push] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.9'] | |
os: [ubuntu-24.04, macos-14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install prerequisites on Ubuntu | |
if: matrix.os == 'ubuntu-24.04' | |
run: | | |
sudo apt update | |
sudo apt install --yes libdjvulibre21 libdjvulibre-dev | |
- name: Install prerequisites on macOS | |
if: matrix.os == 'macos-14' | |
run: brew install djvulibre libtiff | |
# - name: Install prerequisites on Windows | |
# if: matrix.os == 'windows-2022' | |
# run: | | |
# choco install djvu-libre | |
# vcpkg install tiff | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: abatilo/actions-poetry@v2 | |
- name: Install dependencies | |
run: poetry install --all-extras --with dev | |
- name: Lint | |
run: make lint | |
- name: Test | |
run: make test |