Force --no-fail-pedantic on some CI tests

pull/1359/head
Boyan-MILANOV 2 years ago
parent 40534e1a30
commit 1127eb5c49
  1. 2
      scripts/ci_test_cli.sh
  2. 4
      scripts/ci_test_truffle.sh

@ -4,7 +4,7 @@
solc-select use 0.7.0 solc-select use 0.7.0
if ! slither "tests/config/test.sol" --solc-ast; then if ! slither "tests/config/test.sol" --solc-ast --no-fail-pedantic; then
echo "--solc-ast failed" echo "--solc-ast failed"
exit 1 exit 1
fi fi

@ -14,9 +14,9 @@ nvm use --lts
npm install -g truffle npm install -g truffle
truffle unbox metacoin truffle unbox metacoin
if ! slither .; then if ! slither . --no-fail-pedantic; then
echo "Truffle test failed" echo "Truffle test failed"
exit 1 exit 1
fi fi
exit 0 exit 0

Loading…
Cancel
Save