Run coverage as well
This commit is contained in:
parent
150a7d562b
commit
f67f6ff0d8
@ -65,7 +65,13 @@ tasks:
|
|||||||
desc: Run CI build
|
desc: Run CI build
|
||||||
cmds:
|
cmds:
|
||||||
- task: build-prod
|
- task: build-prod
|
||||||
- go test ./...
|
- task: cover
|
||||||
|
|
||||||
|
cover:
|
||||||
|
desc: Run test and analyze coverage
|
||||||
|
cmds:
|
||||||
|
- go test ./... -coverprofile=coverage.out -covermode=atomic
|
||||||
|
- go tool cover -html=coverage.out -o=coverage.html
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
desc: Build vue frontend
|
desc: Build vue frontend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user