diff --git a/Taskfile.yml b/Taskfile.yml index 08508ee..92e2fdc 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -65,7 +65,13 @@ tasks: desc: Run CI build cmds: - 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: desc: Build vue frontend