mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-27 10:44:13 +00:00
Fixed pre push on core
This commit is contained in:
parent
abcc23c4f3
commit
b94fd1efcd
@ -8,7 +8,7 @@ NOCOLOR='\033[0m'
|
||||
|
||||
# Run tests before push
|
||||
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=$?
|
||||
if [ $status -ne 0 ]; then
|
||||
echo -e "${RED}Push aborted: some tests failed.${NOCOLOR}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user