Update rove-server main with tests
This commit is contained in:
parent
1d2087e2b9
commit
97d3583384
3 changed files with 29 additions and 6 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue