llama-stack-mirror/llama_stack
Sixian Yi edf56884a7
add pytest option to generate a functional report for distribution (#833)
# What does this PR do?

add pytest option (`--report`) to support generating a functional report
for llama stack distribution

## Test Plan
```
export LLAMA_STACK_CONFIG=./llama_stack/templates/fireworks/run.yaml
/opt/miniconda3/envs/stack/bin/pytest -s -v tests/client-sdk/  --report
```

See a report file was generated under
`./llama_stack/templates/fireworks/report.md`


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2025-01-21 21:18:23 -08:00
..
apis Refactor the API enum to an independent file into llama_stack/apis/ 2025-01-19 12:22:40 -08:00
cli More generic image type for OCI-compliant container technologies (#802) 2025-01-17 16:37:42 -08:00
distribution [CICD] add simple test step for docker build workflow, fix prefix bug (#821) 2025-01-18 15:16:05 -08:00
providers [ez] structured output for /completion ollama & enable tests (#822) 2025-01-21 21:10:24 -08:00
scripts Fix to conda env build script 2024-12-17 12:19:34 -08:00
templates add pytest option to generate a functional report for distribution (#833) 2025-01-21 21:18:23 -08:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00