ci: etherscan: fix test check

pull/1556/head
Emilio López 2 years ago
parent d72302f94c
commit 2109b5fad9
  1. 4
      scripts/ci_test_etherscan.sh

@ -6,7 +6,7 @@ mkdir etherscan
cd etherscan || exit 255
echo "::group::Etherscan mainnet"
if ! slither 0x7F37f78cBD74481E593F9C737776F7113d76B315 --etherscan-apikey "$GITHUB_ETHERSCAN"; then
if ! slither 0x7F37f78cBD74481E593F9C737776F7113d76B315 --etherscan-apikey "$GITHUB_ETHERSCAN" --no-fail-pedantic; then
echo "Etherscan mainnet test failed"
exit 1
fi
@ -18,7 +18,7 @@ if [ "$GITHUB_ETHERSCAN" = "" ]; then
fi
echo "::group::Etherscan rinkeby"
if ! slither rinkeby:0xFe05820C5A92D9bc906D4A46F662dbeba794d3b7 --etherscan-apikey "$GITHUB_ETHERSCAN"; then
if ! slither rinkeby:0xFe05820C5A92D9bc906D4A46F662dbeba794d3b7 --etherscan-apikey "$GITHUB_ETHERSCAN" --no-fail-pedantic; then
echo "Etherscan rinkeby test failed"
exit 1
fi

Loading…
Cancel
Save