Skip to content

Commit

Permalink
chore: add rust and program tests to test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block committed Jan 11, 2025
1 parent 82ad93e commit 29ff312
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@

set -eux

npx nx run-many --target=test --all --parallel=false
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

0 comments on commit 29ff312

Please sign in to comment.