From b9e6a38037171cb8e8fdfd4dd7a47cd030fef37b Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 19 Mar 2024 14:23:34 +0100 Subject: [PATCH] fix(tests): test script now returns the correct exit code --- test/gotest.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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