Skip to content

Commit 3aa9187

Browse files
authored
Merge pull request #4125 from tnull/2025-09-ci-test-persister-tokio
Add tests for `lightning-persister` with `tokio` feature to CI
2 parents 805edc2 + 96ad240 commit 3aa9187

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci/ci-tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ cargo check -p lightning-block-sync --verbose --color always --features rpc-clie
9090
cargo test -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
9191
cargo check -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
9292

93+
echo -e "\n\nChecking and testing lightning-persister with features"
94+
cargo test -p lightning-persister --verbose --color always --features tokio
95+
cargo check -p lightning-persister --verbose --color always --features tokio
96+
cargo doc -p lightning-persister --document-private-items --features tokio
97+
9398
echo -e "\n\nTest Custom Message Macros"
9499
cargo test -p lightning-custom-message --verbose --color always
95100
[ "$CI_MINIMIZE_DISK_USAGE" != "" ] && cargo clean

lightning-persister/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ edition = "2021"
1313
all-features = true
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

16+
[features]
17+
tokio = ["dep:tokio"]
18+
1619
[dependencies]
1720
bitcoin = "0.32.2"
1821
lightning = { version = "0.2.0", path = "../lightning" }

0 commit comments

Comments
 (0)