deps: pin typer to ensure docling 2.x is picked #344
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: Continuous builds | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - development | |
| - experimental | |
| - 'test*' | |
| - 'feat*' | |
| - 'fix*' | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'AGENTS.md' | |
| - 'CLAUDE.md' | |
| - '.github/workflows/docs.yml' | |
| pull_request: | |
| branches: | |
| - main | |
| - development | |
| - experimental | |
| - 'test*' | |
| - 'feat*' | |
| - 'fix*' | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'AGENTS.md' | |
| - 'CLAUDE.md' | |
| - '.github/workflows/docs.yml' | |
| jobs: | |
| build: | |
| env: | |
| UV_SYSTEM_PYTHON: 1 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Print refs | |
| run: | | |
| echo "github.ref is: ${{ github.ref }}" | |
| echo "github.base_ref is: ${{ github.base_ref }}" | |
| - name: Update machine | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| - name: Install package | |
| run: | | |
| uv pip install -r ./requirements.txt | |
| - name: List packages so far | |
| run: | | |
| uv pip list | |
| env | |
| - name: Test commands | |
| run: | | |
| klea-rag --help | |
| klea-rag-serve --help | |
| klea-code --help | |
| klea-vs-create --help | |
| nml-mcp --help | |
| - name: Setup Ollama | |
| uses: ai-action/setup-ollama@v2 | |
| - name: Pull default models | |
| run: | | |
| ollama pull qwen3:0.6b | |
| ollama pull bge-m3 | |
| - name: Create cache dir | |
| run: | | |
| mkdir -p ~/.cache/nml_mcp/ | |
| - name: Run unit tests | |
| run: | | |
| bash ./scripts/run_tests.sh | |
| - name: Lint with ruff | |
| run: | | |
| ruff check . --exit-zero |