From bfae711a17efc2cf9f07ef3574878b73283c7a45 Mon Sep 17 00:00:00 2001 From: Yiorgis Gozadinos Date: Mon, 29 Dec 2025 13:44:57 +0200 Subject: [PATCH] Do not run test requiring docling OCR in CI --- .github/workflows/test.yml | 2 +- tests/test_info.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5aa485f1..a3d1e2b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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" diff --git a/tests/test_info.py b/tests/test_info.py index ba909a96..11f4fa25 100644 --- a/tests/test_info.py +++ b/tests/test_info.py @@ -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