Skip to content

Allow top level payjoin-ffi testing with ./contrib.test.sh #1454

@benalleng

Description

@benalleng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions