test: run pytest in CI — real unit job + Qdrant-backed integration job #52

Merged
jcabillot merged 10 commits from tests/ci-pytest into main 2026-10-09 15:53:53 -04:00
Showing only changes of commit 9417e577a9 - Show all commits
+4
View File
@@ -11,6 +11,10 @@ os.environ["EMBEDDING_MODEL_NAME"] = "BAAI/bge-small-en-v1.5"
from server import get_qdrant_client, get_embedding_model, search_emails, read_email
from qdrant_client.http import models
# Requires a live Qdrant on localhost:6333 (see pytest.ini: deselected by
# default; run with `pytest -m integration`, nightly CI does exactly that).
pytestmark = pytest.mark.integration
TEST_EMAILS = [
{