mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-27 14:24:12 +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
|
# 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}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user