ci(integration): add pgvector+redis integration job; amend lint-only policy

This commit is contained in:
2026-05-15 21:46:10 -04:00
parent 5faa19234d
commit 827a4180a9
2 changed files with 61 additions and 11 deletions
+4 -4
View File
@@ -9,9 +9,9 @@ where = ["."]
include = ["backend*"]
[tool.pytest.ini_options]
# Per FabledRulebook/forgejo.md: CI runs lint + short unit tests only.
# Integration tests that need a real Postgres/Redis run locally via
# docker-compose; CI passes `-m "not integration"` to skip them.
# The fast backend job runs `-m "not integration"`; the dedicated CI
# `integration` job (pgvector Postgres + Redis service containers) runs
# `-m integration`. Both also runnable locally via docker-compose.
markers = [
"integration: tests that require a real Postgres/Redis. Run locally via docker-compose, skipped in CI.",
"integration: tests that require a real Postgres/Redis. Run by the CI integration job and locally via docker-compose.",
]