diff --git a/.circleci/config.yml b/.circleci/config.yml index 9080af54c5..bff7146a59 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,14 @@ jobs: - image: cimg/go:1.19 steps: - checkout + - run: + command: | + curl -L https://foundry.paradigm.xyz | SHELL=/usr/bin/bash bash + ~/.foundry/bin/foundryup + - run: + command: make geth + - run: + command: PATH="~/.foundry/bin:${PATH}" e2e_test/run_all_tests.sh - run: command: go run build/ci.go test lint-geth: diff --git a/e2e_test/run_all_tests.sh b/e2e_test/run_all_tests.sh index 5b91d248c1..59413a8f1d 100755 --- a/e2e_test/run_all_tests.sh +++ b/e2e_test/run_all_tests.sh @@ -29,26 +29,26 @@ do echo -e "\nRun $f" if "./$f" then - tput setaf 2 + tput setaf 2 || true echo "PASS $f" else - tput setaf 1 + tput setaf 1 || true echo "FAIL $f ❌" - ((failures++)) + ((failures++)) || true fi - tput init - ((tests++)) + tput init || true + ((tests++)) || true done ## Final summary echo if [[ $failures -eq 0 ]] then - tput setaf 2 + tput setaf 2 || true echo All tests succeeded! else - tput setaf 1 + tput setaf 1 || true echo $failures/$tests failed. fi -tput init +tput init || true exit $failures