Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
toolchain: ${{ matrix.rust.version }}
- name: Test
run: cargo test --no-fail-fast --all-features
- name: Slow Test
run: "cargo test --no-fail-fast --all-features -- --ignored slow::"

fmt-clippy:
runs-on: ubuntu-latest
Expand Down
11 changes: 10 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ alias c := check
alias f := fmt
alias t := test
alias p := pre-push
alias ts := test-slow
alias ta := test-all

[doc("List all available commands.")]
default:
Expand All @@ -25,9 +27,16 @@ check:
fmt:
cargo +nightly fmt

[doc("Run all tests on the workspace with all features")]
[doc("Run fast tests on the workspace with all features (skips tests annotated with #[ignore])")]
test:
cargo test --workspace --exclude sp_fuzz --exclude bdk_sp_cli_v1 --exclude bdk_sp_cli_v2 --all-features

[doc("Run pre-push suite: format, check, and test")]
pre-push: fmt check test

[doc("Run the slow tests that `test`/`pre-push` skip")]
test-slow:
cargo test --workspace --exclude sp_fuzz --exclude bdk_sp_cli_v1 --exclude bdk_sp_cli_v2 --all-features -- --ignored slow::

[doc("Run all tests including slow/ignored tests on the workspace with all features")]
test-all: pre-push test-slow
11 changes: 8 additions & 3 deletions silentpayments/tests/functional_tests/bip352_vectors/receive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,12 @@ fn input_keys_intermediate_sum_is_zero_but_final_sum_is_non_zero() {
check_cases(26);
}

#[test]
fn maximum_per_group_recipient_limit_k_max_is_exceeded() {
check_cases(27);
mod slow {
use super::*;

#[test]
#[ignore = "slow test"]
fn maximum_per_group_recipient_limit_k_max_is_exceeded() {
check_cases(27);
}
}
Loading