Skip to content

Commit 4a58c01

Browse files
committed
Add profile that allows skiping container tests for when running in environments that cannot pull docker images
1 parent 655ce04 commit 4a58c01

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

‎data/semantickernel-data-oracle/pom.xml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,13 @@
119119
<skip>true</skip>
120120
</configuration>
121121
</plugin>
122+
<plugin>
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-surefire-plugin</artifactId>
125+
<configuration>
126+
<skipTests>${skipTests.oracle}</skipTests>
127+
</configuration>
128+
</plugin>
122129
</plugins>
123130
</build>
124131
</project>

‎pom.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,15 @@
837837
<module>api-test</module>
838838
</modules>
839839
</profile>
840+
<profile>
841+
<id>skip-container-tests</id>
842+
<activation>
843+
<activeByDefault>false</activeByDefault>
844+
</activation>
845+
<properties>
846+
<skipTests.oracle>true</skipTests.oracle>
847+
</properties>
848+
</profile>
840849
<profile>
841850
<id>release</id>
842851
<properties>

0 commit comments

Comments
 (0)