Added tag 0.5.5 for changeset 8431e2bb9d8c #343
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: CI Linux | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.11", "3.12", "3.13"] | |
| steps: | |
| - name: Install apt packages | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install xvfb x11-utils libxkbcommon-x11-0 libxcb-icccm4 \ | |
| libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \ | |
| libxcb-xinerama0 libxcb-xfixes0 xdotool | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pdm nox | |
| - name: Test with nox | |
| run: | | |
| export TRANSONIC_NO_REPLACE=1 | |
| nox -s "test(cov=True, with_opencv=True)" | |
| - name: Upload coverage to codecov | |
| if: ${{ success() }} | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false # optional (default = false) | |
| verbose: true # optional (default = false) | |
| files: .coverage/coverage.xml |