llama-stack-mirror/.github/actions
Ashwin Bharambe c662d8aa31 feat(tests): migrate to global "setups" system for test configuration
This PR refactors the integration test system from suite-specific "contexts" to global "setups".
This provides better separation of concerns: **suites = what to test, setups = how to configure.**

Key changes:
- New `tests/integration/setups.py` with global, reusable configurations (ollama, vllm, gpt, claude)
- Simplified `tests/integration/suites.py` to only define test collection roots + default setup references
- Updated CLI from `--context` to `--setup` parameter that works with any suite
- Modified `scripts/integration-tests.sh` to use `--test-setup` instead of `--test-context`
- Updated documentation to reflect the new global setup system

Benefits:
- Setups can be reused across multiple suites (e.g., use "gpt" with any suite)
- Clear separation between test selection (suites) and configuration (setups)
- Easier to add new configurations without modifying existing suites
- Centralized configuration management

Usage examples:
- `pytest tests/integration --suite=responses --setup=gpt`
- `pytest tests/integration --suite=vision --setup=ollama`
- `pytest tests/integration --suite=base --setup=vllm`
2025-09-09 12:24:32 -07:00
..
run-and-record-tests feat(tests): migrate to global "setups" system for test configuration 2025-09-09 12:24:32 -07:00
setup-ollama feat(tests): migrate to global "setups" system for test configuration 2025-09-09 12:24:32 -07:00
setup-runner fix(ci, tests): ensure uv environments in CI are kosher, record tests (#3193) 2025-08-18 17:02:24 -07:00
setup-test-environment feat(tests): migrate to global "setups" system for test configuration 2025-09-09 12:24:32 -07:00
setup-vllm test: Add VLLM provider support to integration tests (#2757) 2025-07-24 09:42:26 -07:00