Missed a line in CI script
This commit is contained in:
parent
43d989474e
commit
4ec1b4ed5a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ if [ "${1:-}" = "--inside-docker" ]; then
|
|||
echo -e "${BLUE}❯ ${CYAN}Testing backend code${RESET}"
|
||||
cd /app/backend
|
||||
[ -z "$(go tool fix -diff ./internal)" ]
|
||||
go test -json -cover -coverprofile="$DIR/../../coverage.out" ./internal/... | tparse
|
||||
go test -json -cover -coverprofile="/tmp/coverage.out" ./internal/... | tparse
|
||||
mkdir "$DIR/../../backend-coverage"
|
||||
go tool cover -html="/tmp/coverage.out" -o "$DIR/../../backend-coverage/index.html"
|
||||
rm -f "/tmp/coverage.out"
|
||||
|
|
Loading…
Reference in a new issue