diff --git a/test/gotest.sh b/test/gotest.sh index d9c2de80..99bb6433 100755 --- a/test/gotest.sh +++ b/test/gotest.sh @@ -3,4 +3,8 @@ set -x go test -race -covermode=atomic -coverprofile=/tests/coverage.txt ./... -go tool cover -html=coverage.txt -o /tests/coverage.html \ No newline at end of file +RESULT=$? + +go tool cover -html=coverage.txt -o /tests/coverage.html + +exit $RESULT \ No newline at end of file