Add support for new illustrations APIs in libzim 9.4.0 #120
This file contains hidden or 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: Tests | |
| on: [push] | |
| env: | |
| LIBZIM_DL_VERSION: "9.4.0" | |
| MACOSX_DEPLOYMENT_TARGET: "13.0" | |
| # we want cython traces for coverage | |
| PROFILE: "1" | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-14, macos-15, macos-15-intel, windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04] | |
| python: ["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Display Python version | |
| run: python -VV | |
| - name: Install dependencies (and project) | |
| run: | | |
| pip install -U pip | |
| pip install -e .[test,scripts] | |
| - name: move DLLs next to wrapper | |
| if: startsWith(matrix.os, 'windows-') | |
| run: Move-Item -Force -Path .\libzim\*.dll -Destination .\ | |
| - name: Run the tests | |
| run: inv coverage --args "-vvv" | |
| - name: Upload coverage report to codecov | |
| if: matrix.os == 'ubuntu-24.04' && matrix.python == '3.14' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| fail_ci_if_error: true | |
| token: ${{ secrets.CODECOV_TOKEN }} |