@@ -3,6 +3,8 @@ set -eox pipefail
33
44RUSTC_MINOR_VERSION=$( rustc --version | awk ' { split($2,a,"."); print a[2] }' )
55
6+ pushd lightning-transaction-sync
7+
68# Some crates require pinning to meet our MSRV even for our downstream users,
79# which we do here.
810# Further crates which appear only as dev-dependencies are pinned further down.
@@ -18,18 +20,20 @@ PIN_RELEASE_DEPS # pin the release dependencies
1820export RUST_BACKTRACE=1
1921
2022echo -e " \n\nChecking Transaction Sync Clients with features."
21- cargo check -p lightning-transaction-sync - -verbose --color always --features esplora-blocking
22- cargo check -p lightning-transaction-sync - -verbose --color always --features esplora-async
23- cargo check -p lightning-transaction-sync - -verbose --color always --features esplora-async-https
24- cargo check -p lightning-transaction-sync - -verbose --color always --features electrum
23+ cargo check --verbose --color always --features esplora-blocking
24+ cargo check --verbose --color always --features esplora-async
25+ cargo check --verbose --color always --features esplora-async-https
26+ cargo check --verbose --color always --features electrum
2527
2628if [ -z " $CI_ENV " ] && [[ -z " $BITCOIND_EXE " || -z " $ELECTRS_EXE " ]]; then
2729 echo -e " \n\nSkipping testing Transaction Sync Clients due to BITCOIND_EXE or ELECTRS_EXE being unset."
28- cargo check -p lightning-transaction-sync - -tests
30+ cargo check --tests
2931else
3032 echo -e " \n\nTesting Transaction Sync Clients with features."
31- cargo test -p lightning-transaction-sync - -verbose --color always --features esplora-blocking
32- cargo test -p lightning-transaction-sync - -verbose --color always --features esplora-async
33- cargo test -p lightning-transaction-sync - -verbose --color always --features esplora-async-https
34- cargo test -p lightning-transaction-sync - -verbose --color always --features electrum
33+ cargo test --verbose --color always --features esplora-blocking
34+ cargo test --verbose --color always --features esplora-async
35+ cargo test --verbose --color always --features esplora-async-https
36+ cargo test --verbose --color always --features electrum
3537fi
38+
39+ popd
0 commit comments