Skip to content

Commit 91db3c6

Browse files
committed
Add test suite for v1 and v2 specific features alone
Add the test suite for the `contrib/test,sh` script in the payjoin crate.
1 parent 6e3c08d commit 91db3c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

payjoin/contrib/test.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#!/usr/bin/env bash
22
set -e
33

4+
features=("v1" "v2")
5+
46
cargo test --locked --package payjoin --verbose --all-features --lib
57
cargo test --locked --package payjoin --verbose --all-features --test integration
8+
9+
for feature in "${features[@]}"; do
10+
cargo test --locked --package payjoin --verbose --no-default-features --features "$feature" --lib
11+
cargo test --locked --package payjoin --verbose --no-default-features --features "$feature" --test integration
12+
done

0 commit comments

Comments
 (0)