add notebook test to nightly build

This commit is contained in:
Hardik Shah 2025-01-15 19:32:35 -08:00
parent 678ab29129
commit 7adc8c1227

View file

@ -199,7 +199,13 @@ jobs:
- publish-to-testpypi
- trigger-client-and-models-build
runs-on: ubuntu-latest
env:
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
TAVILY_SEARCH_API_KEY: ${{ secrets.TAVILY_SEARCH_API_KEY }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install the package
run: |
max_attempts=6
@ -228,5 +234,9 @@ jobs:
llama stack list-apis
llama stack list-providers inference
llama stack list-providers telemetry
- name: Test Notebook
run: |
pip install pytest nbval
pytest -v -s --nbval-lax ./docs/notebooks/Llama_Stack_Building_AI_Applications.ipynb
# TODO: add trigger for integration test workflow & docker builds