mirror of https://gitlab.com/ecentrics/concordia
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
447 B
16 lines
447 B
#!/bin/sh
|
|
|
|
export CHAIN_HOST="$TEST_CHAIN_HOST"
|
|
export CHAIN_PORT="$TEST_CHAIN_PORT"
|
|
|
|
yarn _eslint -f html -o /usr/test-reports/concordia-contracts-eslint.html --no-color &&
|
|
(yarn _solhint >/usr/test-reports/concordia-contracts-solhint.report) &&
|
|
(yarn test --network env >/usr/test-reports/concordia-contracts-truffle-tests.report)
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo "TESTS RAN SUCCESSFULLY!"
|
|
exit 0
|
|
else
|
|
echo "SOME TESTS FAILED!"
|
|
exit 1
|
|
fi
|
|
|