From 12e9c7246371f627d308c4df89f2702644bab1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Tue, 1 Feb 2022 06:52:20 +0100 Subject: [PATCH] More detailed coverage in pipeline --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a26af8e..54a9bf0 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,8 @@ pipeline: commands: - go build -o gpaste-client ./cmd/client/client.go - go build -o gpaste-server ./cmd/server/server.go - - go test -cover ./... + - go test -cover -coverprofile="/tmp/cover.out" ./... + - go tool cover func="/tmp/cover.out" - go vet ./... when: branch: master