Do not run test requiring docling OCR in CI
This commit is contained in:
parent
1e9a10a235
commit
bfae711a17
2 changed files with 4 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue