Because of how our dev shell puts us in the msrv and currently the testing infra in payjoin-ffi prevents the tests being run at the top level when we are in a dev shell it would be nice to fix/allow this behavior for more sweeping testing.
|
#!/usr/bin/env bash |
|
set -e |
|
|
|
RUST_VERSION=$(rustc --version | awk '{print $2}') |
|
|
|
if [[ ! $RUST_VERSION =~ ^1\.85\. ]]; then |
|
cargo test --package payjoin-ffi --verbose --features=_manual-tls,_test-utils |
|
else |
|
echo "Skipping payjoin-ffi tests for Rust version $RUST_VERSION (MSRV)" |
|
fi |
Because of how our dev shell puts us in the msrv and currently the testing infra in payjoin-ffi prevents the tests being run at the top level when we are in a dev shell it would be nice to fix/allow this behavior for more sweeping testing.
rust-payjoin/payjoin-ffi/contrib/test.sh
Lines 1 to 10 in 4186232