llama-stack-mirror/tests/integration/tool_runtime
Ashwin Bharambe b237df8f18
feat(ci): use replay mode, setup ollama if specific label exists on PR (#2955)
This PR makes setting up Ollama optional for CI. By default, we use
`replay` mode for inference requests and use the stored results from the
`tests/integration/recordings/` directory.

Every so often, users will update tests which will need us to re-record.
To do this, we check for the existence of a label `re-record-tests` on
the PR. If detected,
- ollama is spun up
- inference mode is set to record
- after the tests are done, if any new changes are detected, they are
pushed back to the PR

## Test Plan

This is GitHub CI. Gotta test it live.
2025-07-29 16:50:26 -07:00
..
test_builtin_tools.py fix(tools): do not index tools, only index toolgroups (#2261) 2025-05-25 13:27:52 -07:00
test_mcp.py feat(ci): use replay mode, setup ollama if specific label exists on PR (#2955) 2025-07-29 16:50:26 -07:00
test_rag_tool.py fix: allow running vector tests with embedding dimension (#2467) 2025-06-19 13:29:04 +05:30
test_registration.py fix(tools): do not index tools, only index toolgroups (#2261) 2025-05-25 13:27:52 -07:00