@@ -3,6 +3,8 @@ set -eox pipefail
3
3
4
4
RUSTC_MINOR_VERSION=$( rustc --version | awk ' { split($2,a,"."); print a[2] }' )
5
5
6
+ pushd lightning-transaction-sync
7
+
6
8
# Some crates require pinning to meet our MSRV even for our downstream users,
7
9
# which we do here.
8
10
# Further crates which appear only as dev-dependencies are pinned further down.
@@ -18,18 +20,20 @@ PIN_RELEASE_DEPS # pin the release dependencies
18
20
export RUST_BACKTRACE=1
19
21
20
22
echo -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
25
27
26
28
if [ -z " $CI_ENV " ] && [[ -z " $BITCOIND_EXE " || -z " $ELECTRS_EXE " ]]; then
27
29
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
29
31
else
30
32
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
35
37
fi
38
+
39
+ popd
0 commit comments