10 lines
176 B
Bash
10 lines
176 B
Bash
|
if [ ! -f cover.out ]; then
|
||
|
echo "Running tests..."
|
||
|
go test -timeout 3m -coverprofile cover.out
|
||
|
if [ $? -ne 0 ]; then
|
||
|
exit 255
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
go tool cover -html=cover.out
|