mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 00:22:14 +01:00
fix(tests): test script now returns the correct exit code
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user