@@ -44,22 +44,24 @@ cargo check --verbose --color always --features rpc-client,rest-client,tokio
44
44
popd
45
45
46
46
if [[ " $HOST_PLATFORM " != * windows* ]]; then
47
- if [ -z " $BITCOIND_EXE " ] || [ -z " $ELECTRS_EXE " ]; then
47
+ pushd lightning-transaction-sync
48
+ echo -e " \n\nChecking Transaction Sync Clients with features."
49
+ cargo check --verbose --color always --features esplora-blocking
50
+ cargo check --verbose --color always --features esplora-async
51
+ cargo check --verbose --color always --features esplora-async-https
52
+ cargo check --verbose --color always --features electrum
53
+
54
+ if [ -z " $CI_ENV " ] && [[ -z " $BITCOIND_EXE " || -z " $ELECTRS_EXE " ]]; then
48
55
echo -e " \n\nSkipping testing Transaction Sync Clients due to BITCOIND_EXE or ELECTRS_EXE being unset."
56
+ cargo check --tests
49
57
else
50
- echo -e " \n\nBuilding and testing Transaction Sync Clients with features"
51
- pushd lightning-transaction-sync
52
-
58
+ echo -e " \n\nTesting Transaction Sync Clients with features."
53
59
cargo test --verbose --color always --features esplora-blocking
54
- cargo check --verbose --color always --features esplora-blocking
55
60
cargo test --verbose --color always --features esplora-async
56
- cargo check --verbose --color always --features esplora-async
57
61
cargo test --verbose --color always --features esplora-async-https
58
- cargo check --verbose --color always --features esplora-async-https
59
62
cargo test --verbose --color always --features electrum
60
- cargo check --verbose --color always --features electrum
61
- popd
62
63
fi
64
+ popd
63
65
fi
64
66
65
67
echo -e " \n\nTest futures builds"
0 commit comments