Skip to content

Strengthen CI coverage and add query filter tests#32

Merged
GauteR merged 2 commits into
mainfrom
feature/tests-and-ci
Jun 15, 2026
Merged

Strengthen CI coverage and add query filter tests#32
GauteR merged 2 commits into
mainfrom
feature/tests-and-ci

Conversation

@GauteR

@GauteR GauteR commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • pytest-cov med 70 % terskel (faktisk ~88 % dekning)
  • Pre-commit kjøres i GitHub Actions
  • chroma-extra installert i CI
  • Nye tester for doc_id-filter og min_score i query
  • test_benchmark_live markert med live_models for å unngå flaky CI

Test plan

  • bash scripts/ci.sh lokalt
  • Verifiser at GitHub Actions er grønn
  • uv run pytest tests/test_indexing_and_query.py::test_query_filters_by_doc_id -v

Made with Cursor

Add pytest-cov with 70% threshold, run pre-commit in GitHub Actions,
install chroma extra in CI, and test doc_id/min_score query filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
@GauteR GauteR self-assigned this Jun 15, 2026
@GauteR GauteR merged commit 32607df into main Jun 15, 2026
1 check failed
@GauteR GauteR deleted the feature/tests-and-ci branch June 15, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant