From e2abc3620a7c1736c085ea6c1227368ecf4010af Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Wed, 26 Jun 2024 16:17:20 -0400 Subject: [PATCH] fix: add jvm live tests to exclude when using excludeConnectedTests property --- bdk-jvm/lib/build.gradle.kts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bdk-jvm/lib/build.gradle.kts b/bdk-jvm/lib/build.gradle.kts index 5922d42..8c226d7 100644 --- a/bdk-jvm/lib/build.gradle.kts +++ b/bdk-jvm/lib/build.gradle.kts @@ -24,13 +24,16 @@ java { // This block ensures that the tests that require access to a blockchain are not // run if the -P excludeConnectedTests flag is passed to gradle. -// This ensures our CI runs are not fickle by not requiring access to testnet. +// This ensures our CI runs are not fickle by not requiring access to testnet or signet. // This is a workaround until we have a proper regtest setup for the CI. // Note that the command in the CI is ./gradlew test -P excludeConnectedTests tasks.test { if (project.hasProperty("excludeConnectedTests")) { - exclude("**/LiveWalletTest.class") + exclude("**/LiveElectrumClientTest.class") + exclude("**/LiveMemoryWalletTest.class") + exclude("**/LiveTransactionTest.class") exclude("**/LiveTxBuilderTest.class") + exclude("**/LiveWalletTest.class") } }