Enable anthropic, add .gitignore, use ollama container vs install
This commit is contained in:
@@ -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: |
|
||||
|
||||
43
.gitignore
vendored
Normal file
43
.gitignore
vendored
Normal file
@@ -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/
|
||||
Reference in New Issue
Block a user