Skip to content

Commit

Permalink
feat: add new enable-integration-tests profile (#75)
Browse files Browse the repository at this point in the history
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`)
  • Loading branch information
BenWhitehead committed Jan 8, 2020
1 parent 9e00fe7 commit 836c442
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Expand Up @@ -59,6 +59,7 @@
<!-- Template values used in site generation -->
<site.installationModule>${project.artifactId}</site.installationModule>
<report.jxr.inherited>false</report.jxr.inherited>
<skipITs>true</skipITs>
</properties>

<build>
Expand Down Expand Up @@ -556,5 +557,11 @@
</plugins>
</build>
</profile>
<profile>
<id>enable-integration-tests</id>
<properties>
<skipITs>false</skipITs>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 836c442

Please sign in to comment.