Minimize time to run main CI build action
- Add maven properties for all vector stores such as skip.vectorstore.azure-cosmos-db to control IT test execution - Chroma and PGVector IT tests are enabled by default - Docker Compose and Testcontainers module ITs are skipped by default - Add parallel job to run docker-compose and testcontainers ITs
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<spring-ai-docker-compose.skipITs>false</spring-ai-docker-compose.skipITs>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@@ -176,4 +177,24 @@
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>${maven-failsafe-plugin.version}</version>
|
||||
<configuration>
|
||||
<skipITs>${skip.docker-compose}</skipITs>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user