fix: improve VCR configuration and skip local service tests in CI

- Update VCR config to exclude body matching for more reliable cassette playback
- Add pytest marker for tests requiring local services (Ollama, etc)
- Configure CI to skip tests marked as requiring local services
- Re-record async tool test cassettes with telemetry calls only
This commit is contained in:
Greyson LaLonde
2025-09-26 22:30:34 -04:00
parent 76ad0e0a10
commit 0a09beca03
3 changed files with 6 additions and 3 deletions

View File

@@ -156,6 +156,7 @@ exclude_dirs = ["src/crewai/cli/templates"]
[tool.pytest.ini_options]
markers = [
"telemetry: mark test as a telemetry test (don't mock telemetry)",
"requires_local_services: mark test as requiring local services like Ollama (skip in CI)",
]
[[tool.uv.index]]