Do not run test requiring docling OCR in CI

This commit is contained in:
Yiorgis Gozadinos 2025-12-29 13:44:57 +02:00
parent 1e9a10a235
commit bfae711a17
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -40,4 +40,4 @@ jobs:
- name: Install dependencies
run: uv sync --all-extras
- name: Run tests
run: uv run pytest
run: uv run pytest -m "not integration"

View file

@ -62,7 +62,9 @@ async def test_app_info_outputs(temp_db_path, capsys):
out = capsys.readouterr().out
# Validate expected content substrings
assert f"path: \n{temp_db_path}" in out
# Note: Rich console may wrap long paths to new lines, so check separately
assert "path:" in out
assert str(temp_db_path) in out
assert "haiku.rag version (db):" in out
assert "embeddings: openai/text-embedding-3-small (dim: 3)" in out
assert "documents: 1" in out