From eac20dec9e66b023d31796874072ee659e78e934 Mon Sep 17 00:00:00 2001 From: DanGould Date: Sat, 29 Jun 2024 16:11:21 -0400 Subject: [PATCH] Group tests to optimize compilation time --- contrib/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/test.sh b/contrib/test.sh index 9fc8783a..2910717c 100644 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -3,9 +3,11 @@ set -e # Run tests for the Rust project echo "Running Rust tests..." -cargo test --package payjoin --verbose --all-features --lib +cargo test --package payjoin-cli --verbose --features=danger-local-https cargo test --package payjoin --verbose --features=send,receive --test integration + cargo test --package payjoin --verbose --features=send,receive,danger-local-https,v2 --test integration cargo test --package payjoin-cli --verbose --features=danger-local-https,v2 --test e2e -cargo test --package payjoin-cli --verbose --features=danger-local-https + +cargo test --package payjoin --verbose --all-features --lib