about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-09-02 21:24:07 +0200
committerEmile <hanemile@protonmail.com>2019-09-02 21:24:07 +0200
commit2e4fefaf0858b3a4f53b9517a37c8fd88f53d81b (patch)
tree13a42488142c54e1e063d38848a81cd5619468a7
parent81719816ad6a0460c61993b138031dd85a4166c8 (diff)
updated the coverage step
-rw-r--r--.drone.yml5
1 files changed, 3 insertions, 2 deletions
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