Temp disable Ollama ITs

This commit is contained in:
Christian Tzolov
2024-02-27 23:32:05 +01:00
parent 3eb24f6088
commit 0d0b858d60
2 changed files with 6 additions and 4 deletions

View File

@@ -19,10 +19,10 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: Cache Docker images.
uses: ScribeMD/docker-cache@0.3.7
with:
key: docker-${{ runner.os }}-${{ hashFiles('**/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/ollama/OllamaImage.java') }}
# - name: Cache Docker images.
# uses: ScribeMD/docker-cache@0.3.7
# with:
# key: docker-${{ runner.os }}-${{ hashFiles('**/OllamaImage.java') }}
- name: Build with Maven and deploy to Artifactory
env:

View File

@@ -22,6 +22,7 @@ import com.github.dockerjava.api.model.Image;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.ai.chat.ChatResponse;
import org.springframework.ai.chat.Generation;
@@ -53,6 +54,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Eddú Meléndez
* @since 0.8.0
*/
@Disabled("For manual smoke testing only.")
@Testcontainers
public class OllamaChatAutoConfigurationIT {