Skip to content

Commit 836c442

Browse files
authored
feat: add new enable-integration-tests profile (#75)
Integration tests generally require credentials and access to external GCP services which is not always available to every contributor. This change skips the running of integration tests by default (they are still compiled) in favor of explicitly enabling. To enable the running of integration tests activate the `enable-integration-tests` profile when executing maven (command line are: `-Penable-integration-tests`)
1 parent 9e00fe7 commit 836c442

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<!-- Template values used in site generation -->
6060
<site.installationModule>${project.artifactId}</site.installationModule>
6161
<report.jxr.inherited>false</report.jxr.inherited>
62+
<skipITs>true</skipITs>
6263
</properties>
6364

6465
<build>
@@ -556,5 +557,11 @@
556557
</plugins>
557558
</build>
558559
</profile>
560+
<profile>
561+
<id>enable-integration-tests</id>
562+
<properties>
563+
<skipITs>false</skipITs>
564+
</properties>
565+
</profile>
559566
</profiles>
560567
</project>

0 commit comments

Comments
 (0)