From 29ff312dff01dd09fd60072740f66dd0fbd6d9ac Mon Sep 17 00:00:00 2001 From: ananas-block Date: Sat, 11 Jan 2025 18:06:27 +0000 Subject: [PATCH] chore: add rust and program tests to test.sh --- scripts/test.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index a9dc4c26b1..f5d409a381 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -4,4 +4,15 @@ set -eux -npx nx run-many --target=test --all --parallel=false \ No newline at end of file +npx nx run-many --target=test --all --parallel=false &&\ + RUSTFLAGS="-D warnings" \ + cargo test --all-targets --workspace \ + --exclude light-concurrent-merkle-tree \ + --exclude photon-api && \ + cargo test-sbf -p account-compression-test &&\ + cargo test-sbf -p compressed-token-test &&\ + cargo test-sbf -p e2e-test &&\ + cargo test-sbf -p registry-test &&\ + cargo test-sbf -p sdk-test-program &&\ + cargo test-sbf -p system-cpi-test &&\ + cargo test-sbf -p system-test \ No newline at end of file