Skip to content

Commit

Permalink
Merge pull request #4442 from cd2357/patch-1
Browse files Browse the repository at this point in the history
Exclude spot price provider tests by default
  • Loading branch information
ripcurlx authored Aug 28, 2020
2 parents a6a38a1 + 43cd6e9 commit 3599355
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,14 @@ configure(project(':pricenode')) {

test {
useJUnitPlatform()

// Disabled by default, since spot provider tests include connections to external API endpoints
// Can be enabled by adding -Dtest.pricenode.includeSpotProviderTests=true to the gradle command:
// ./gradlew test -Dtest.pricenode.includeSpotProviderTests=true
if (System.properties['test.pricenode.includeSpotProviderTests'] != 'true') {
project.logger.lifecycle('Pricenode: Skipping spot provider tests')
exclude 'bisq/price/spot/providers/**'
}
}

task stage {
Expand Down

0 comments on commit 3599355

Please sign in to comment.