Fixed pre push on core

This commit is contained in:
anonpenguin23 2026-03-26 18:24:47 +02:00
parent abcc23c4f3
commit b94fd1efcd

View File

@ -8,7 +8,7 @@ NOCOLOR='\033[0m'
# Run tests before push # Run tests before push
echo -e "\n${CYAN}Running tests...${NOCOLOR}" echo -e "\n${CYAN}Running tests...${NOCOLOR}"
go test ./... # Runs all tests in your repo cd "$(git rev-parse --show-toplevel)/core" && go test ./...
status=$? status=$?
if [ $status -ne 0 ]; then if [ $status -ne 0 ]; then
echo -e "${RED}Push aborted: some tests failed.${NOCOLOR}" echo -e "${RED}Push aborted: some tests failed.${NOCOLOR}"