Skip to content
Snippets Groups Projects
Commit 708bb7be authored by Ignacio Palacios's avatar Ignacio Palacios Committed by GitHub
Browse files

Add script to run integration tests (#1431)


* script run integration tests

* Update scripts/parachains_integration_tests.sh

Co-authored-by: default avatarSquirrel <gilescope@gmail.com>

* Update scripts/parachains_integration_tests.sh

Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>

* Update scripts/parachains_integration_tests.sh

Co-authored-by: default avatarSquirrel <gilescope@gmail.com>
Co-authored-by: default avatarChevdor <chevdor@users.noreply.github.com>
parent 65e24ec4
No related merge requests found
#!/usr/bin/env bash
tests=(
statemine
statemint
)
rm -R logs &> /dev/null
for t in ${tests[@]}
do
printf "\n🔍 Running $t tests...\n\n"
mkdir -p logs/$t
parachains-integration-tests \
-m zombienet \
-c ./parachains/integration-tests/$t/config.toml \
-cl ./logs/$t/chains.log 2> /dev/null &
parachains-integration-tests \
-m test \
-t ./parachains/integration-tests/$t \
-tl ./logs/$t/tests.log & tests=$!
wait $tests
pkill -f polkadot
pkill -f parachain
printf "\n🎉 $t integration tests finished! \n\n"
done
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment