mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-25 06:32:01 +00:00
ci: run all APIs integration tests
We are now automatically building the list of integration test to run. In that process, eval and files and being tested now. Also, wait for ollama to be ready before the pull the model. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
9b7eecebcf
commit
ab2f3eeb42
3 changed files with 26 additions and 16 deletions
2
.github/actions/setup-ollama/action.yml
vendored
2
.github/actions/setup-ollama/action.yml
vendored
|
|
@ -8,4 +8,6 @@ runs:
|
|||
run: |
|
||||
docker run -d --name ollama -p 11434:11434 docker.io/leseb/ollama-with-models
|
||||
# TODO: rebuild an ollama image with llama-guard3:1b
|
||||
echo "Verifying Ollama status..."
|
||||
timeout 30 bash -c 'while ! curl -s -L http://127.0.0.1:11434; do sleep 1 && echo "."; done'
|
||||
docker exec ollama ollama pull llama-guard3:1b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue