diff --git a/.github/workflows/spring-ai-integration-tests.yml b/.github/workflows/spring-ai-integration-tests.yml index fabf3b1..b35017f 100644 --- a/.github/workflows/spring-ai-integration-tests.yml +++ b/.github/workflows/spring-ai-integration-tests.yml @@ -10,6 +10,16 @@ jobs: test-ollama: runs-on: ubuntu-latest + services: + ollama: + image: ollama/ollama:latest + ports: + - 11434:11434 + options: >- + --health-cmd="curl --fail http://localhost:11434/health || exit 1" + --health-interval=10s + --health-timeout=5s + --health-retries=5 env: OLLAMA_TESTS_ENABLED: true OLLAMA_WITH_REUSE: true @@ -17,11 +27,11 @@ 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: 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: | diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..19db900 --- /dev/null +++ b/.gitignore @@ -0,0 +1,43 @@ +target +.classpath +.project +.settings +bin +build.log +integration-repo +ivy-cache +spring-build +derby-home +derbydb +derby.log +com.springsource.sts.config.flow.prefs +s3.properties +.idea +*.iml +*.ipr +*.iws +.*.swp +.DS_Store +.springBeans +build +.gradle +out + +/.gradletasknamecache +**/*.flattened-pom.xml + +vscode +settings.json + +node +node_modules +package-lock.json +package.json +.vscode +.antlr + +shell.log + +.profiler +/spring-ai-spring-boot-autoconfigure/nbproject/ +/vector-stores/spring-ai-cassandra-store/nbproject/