mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-06 10:42:39 +00:00
matrix
This commit is contained in:
parent
21eaf5c5b3
commit
4b649c626f
1 changed files with 6 additions and 4 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
@ -12,6 +12,9 @@ jobs:
|
|||
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }}
|
||||
FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
|
||||
TAVILY_SEARCH_API_KEY: ${{ secrets.TAVILY_SEARCH_API_KEY }}
|
||||
strategy:
|
||||
matrix:
|
||||
provider: [fireworks, ollama]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Echo branch name
|
||||
|
@ -23,9 +26,8 @@ jobs:
|
|||
pip install -e .
|
||||
- name: Build providers
|
||||
run: |
|
||||
llama stack build --template fireworks --image-type venv
|
||||
llama stack build --template together --image-type venv
|
||||
- name: Run Together test
|
||||
llama stack build --template ${{ matrix.provider }} --image-type venv
|
||||
- name: Run client-sdk test
|
||||
working-directory: "${{ github.workspace }}"
|
||||
run:
|
||||
LLAMA_STACK_CONFIG=./llama_stack/templates/together/run.yaml pytest ./tests/client-sdk/inference/test_inference.py
|
||||
LLAMA_STACK_CONFIG=./llama_stack/templates/${{ matrix.provider }}/run.yaml pytest ./tests/client-sdk/inference/test_inference.py
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue