on:
  push:
    paths-ignore:
      - 'docs/**'
      - 'debian/**'
      - 'rpm/**'
      - 'README.md'

  pull_request:


env:
  UV_FROZEN: 1

name: CI
jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version:
          - '3.9'
          - '3.10'
          - '3.11'
          - '3.12'
          - '3.13'
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Install Python
        uses: actions/setup-python@v5
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install uv
        uses: astral-sh/setup-uv@v2
      - name: Install dependencies
        run: |
          uv sync --group test
      - name: Test
        run: uv run pytest -vv tests
