fix(tests): test script now returns the correct exit code

This commit is contained in:
Julien Neuhart
2024-03-19 14:23:34 +01:00
parent eb054146d2
commit b9e6a38037

View File

@@ -3,4 +3,8 @@
set -x set -x
go test -race -covermode=atomic -coverprofile=/tests/coverage.txt ./... go test -race -covermode=atomic -coverprofile=/tests/coverage.txt ./...
go tool cover -html=coverage.txt -o /tests/coverage.html RESULT=$?
go tool cover -html=coverage.txt -o /tests/coverage.html
exit $RESULT