Skip to content

Enhancement/test improvements#148

Merged
MarcSkovMadsen merged 3 commits into
mainfrom
enhancement/test-improvements
Feb 20, 2026
Merged

Enhancement/test improvements#148
MarcSkovMadsen merged 3 commits into
mainfrom
enhancement/test-improvements

Conversation

@MarcSkovMadsen

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 20, 2026 10:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR speeds up the documentation MCP test suite by using a minimal documentation index (3 repos) and adding CI caching for the prebuilt index.

Changes:

  • Add a tests/docs_mcp conftest.py session fixture that patches global config/indexer singletons and prebuilds a reduced documentation index.
  • Redirect docs MCP test data (repos + Chroma vector DB) to ~/.holoviz-mcp-test to enable persistence across runs.
  • Add a GitHub Actions cache step to persist ~/.holoviz-mcp-test between CI runs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
tests/docs_mcp/conftest.py Adds an autouse fixture that forces a 3-repo config and prebuilds the docs index to reduce runtime.
.github/workflows/ci.yml Caches the fixed test index directory to avoid re-indexing in CI.

Comment thread .github/workflows/ci.yml Outdated
Comment thread tests/docs_mcp/conftest.py Outdated
Comment thread tests/docs_mcp/conftest.py Outdated
Comment thread tests/docs_mcp/conftest.py Outdated
@MarcSkovMadsen MarcSkovMadsen merged commit 99dd503 into main Feb 20, 2026
15 checks passed
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.

2 participants