mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-11 05:38:38 +00:00
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. |
||
---|---|---|
.. | ||
changelog.yml | ||
install-script-ci.yml | ||
integration-auth-tests.yml | ||
integration-sql-store-tests.yml | ||
integration-tests.yml | ||
integration-vector-io-tests.yml | ||
pre-commit.yml | ||
providers-build.yml | ||
python-build-test.yml | ||
README.md | ||
semantic-pr.yml | ||
stale_bot.yml | ||
test-external-provider-module.yml | ||
test-external.yml | ||
unit-tests.yml | ||
update-readthedocs.yml |
Llama Stack CI
Llama Stack uses GitHub Actions for Continous Integration (CI). Below is a table detailing what CI the project includes and the purpose.
Name | File | Purpose |
---|---|---|
Update Changelog | changelog.yml | Creates PR for updating the CHANGELOG.md |
Installer CI | install-script-ci.yml | Test the installation script |
Integration Auth Tests | integration-auth-tests.yml | Run the integration test suite with Kubernetes authentication |
SqlStore Integration Tests | integration-sql-store-tests.yml | Run the integration test suite with SqlStore |
Integration Tests | integration-tests.yml | Run the integration test suite with Ollama |
Vector IO Integration Tests | integration-vector-io-tests.yml | Run the integration test suite with various VectorIO providers |
Pre-commit | pre-commit.yml | Run pre-commit checks |
Test Llama Stack Build | providers-build.yml | Test llama stack build |
Python Package Build Test | python-build-test.yml | Test building the llama-stack PyPI project |
Check semantic PR titles | semantic-pr.yml | Ensure that PR titles follow the conventional commit spec |
Close stale issues and PRs | stale_bot.yml | Run the Stale Bot action |
Test External Providers Installed via Module | test-external-provider-module.yml | Test External Provider installation via Python module |
Test External API and Providers | test-external.yml | Test the External API and Provider mechanisms |
Unit Tests | unit-tests.yml | Run the unit test suite |
Update ReadTheDocs | update-readthedocs.yml | Update the Llama Stack ReadTheDocs site |