fix: add jvm live tests to exclude when using excludeConnectedTests property
This commit is contained in:
parent
c66b48467a
commit
e2abc3620a
@ -24,13 +24,16 @@ java {
|
|||||||
|
|
||||||
// This block ensures that the tests that require access to a blockchain are not
|
// This block ensures that the tests that require access to a blockchain are not
|
||||||
// run if the -P excludeConnectedTests flag is passed to gradle.
|
// 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.
|
// 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
|
// Note that the command in the CI is ./gradlew test -P excludeConnectedTests
|
||||||
tasks.test {
|
tasks.test {
|
||||||
if (project.hasProperty("excludeConnectedTests")) {
|
if (project.hasProperty("excludeConnectedTests")) {
|
||||||
exclude("**/LiveWalletTest.class")
|
exclude("**/LiveElectrumClientTest.class")
|
||||||
|
exclude("**/LiveMemoryWalletTest.class")
|
||||||
|
exclude("**/LiveTransactionTest.class")
|
||||||
exclude("**/LiveTxBuilderTest.class")
|
exclude("**/LiveTxBuilderTest.class")
|
||||||
|
exclude("**/LiveWalletTest.class")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user