From 2e4fefaf0858b3a4f53b9517a37c8fd88f53d81b Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 2 Sep 2019 21:24:07 +0200 Subject: updated the coverage step --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.drone.yml') diff --git a/.drone.yml b/.drone.yml index 9d4a977..20a4419 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,8 @@ steps: commands: - go test -bench . -- name: vet +- name: coverage image: golang:latest commands: - - go vet . + - go test -coverprofile=cover.out + - go tool cover -func=cover.out -- cgit 1.4.1