Add test coverage to the output
This commit is contained in:
parent
3aaf5e6b81
commit
0f507cf4fd
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
run: go build -v ./...
|
||||
|
||||
- name: Run go unit tests
|
||||
run: go test -v ./...
|
||||
run: go test -v ./... -cover
|
||||
|
||||
- name: Build docker
|
||||
run: docker build . --tag rove:$(date +%s)
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
run: docker-compose up --build --detach
|
||||
|
||||
- name: Run go integration tests
|
||||
run: go test ./... -tags integration
|
||||
run: go test ./... -tags integration -cover
|
||||
|
||||
- name: Take down docker-compose
|
||||
run: docker-compose down
|
||||
|
|
Loading…
Add table
Reference in a new issue