Update rove-server main with tests

This commit is contained in:
Marc Di Luzio 2020-06-06 12:13:54 +01:00
parent 1d2087e2b9
commit 97d3583384
3 changed files with 29 additions and 6 deletions

View file

@ -12,7 +12,7 @@ go build ./...
ROVE_ARGS="--quit 1" docker-compose up --build --exit-code-from=rove-server --abort-on-container-exit
# Run tests with coverage
go test -v ./... -cover -coverprofile=/tmp/c.out
go test -v ./... -cover -coverprofile=/tmp/c.out -count 1
# Convert the coverage data to html
go tool cover -html=/tmp/c.out -o /tmp/coverage.html