Skip to content

Commit

Permalink
skipping ollama ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain4j committed May 24, 2024
1 parent 532e314 commit 1a9494e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- name: Build with JDK ${{ matrix.java_version }}
run: mvn -U -B deploy
run: mvn -U -B -DskipOllamaITs deploy
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
Expand Down
16 changes: 16 additions & 0 deletions langchain4j-ollama-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<artifactId>langchain4j-ollama-spring-boot-starter</artifactId>
<name>LangChain4j Spring Boot starter for Ollama</name>

<properties>
<skipOllamaITs>false</skipOllamaITs>
</properties>

<dependencies>

<dependency>
Expand Down Expand Up @@ -67,6 +71,18 @@

</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipTests>${skipOllamaITs}</skipTests>
</configuration>
</plugin>
</plugins>
</build>

<licenses>
<license>
<name>Apache-2.0</name>
Expand Down

0 comments on commit 1a9494e

Please sign in to comment.