From 4cd9bbb5435d89c036b4d6bb5e959c9dd3648bf9 Mon Sep 17 00:00:00 2001 From: Mark Pollack Date: Fri, 8 Nov 2024 17:32:52 -0500 Subject: [PATCH] Install ollama in test-ollama job --- .github/workflows/spring-ai-integration-tests.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/spring-ai-integration-tests.yml b/.github/workflows/spring-ai-integration-tests.yml index 8cdc244..fabf3b1 100644 --- a/.github/workflows/spring-ai-integration-tests.yml +++ b/.github/workflows/spring-ai-integration-tests.yml @@ -17,6 +17,12 @@ jobs: - name: Checkout the action uses: actions/checkout@v4 + - name: Install Ollama + run: | + curl -fsSL https://ollama.com/install.sh | sh + ollama serve & + sleep 10 # Give Ollama time to start up + - name: Configure Testcontainers run: | mkdir -p $HOME