Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add script to run tests suite #197

Merged
merged 1 commit into from
Oct 22, 2024
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
19 changes: 19 additions & 0 deletions scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

: "${BUILD_BINARY:=1}"

if [[ $BUILD_BINARY == "1" ]]; then
echo "*** Building 5ire node binary..."
cargo build --release --features firechain-qa 1>/dev/null
echo "*** Binary compiled"
fi



cd integration-test-suite

yarn install

yarn test

cd ..
2 changes: 0 additions & 2 deletions scripts/run-localnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ alice_start=(
--rpc-port 9934
--validator
--rpc-cors=all
--execution native
)

bob_start=(
Expand All @@ -42,7 +41,6 @@ bob_start=(
--port 30335
--rpc-port 9935
--validator
--execution native
--bootnodes "/ip4/127.0.0.1/tcp/30334/p2p/12D3KooWBBUaVWE5SYj3UvnoXojfS8fvPorw5biRDaDQV7XXwCXm"
)

Expand Down