diff options
author | Emile <hanemile@protonmail.com> | 2019-09-02 21:24:07 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-09-02 21:24:07 +0200 |
commit | 2e4fefaf0858b3a4f53b9517a37c8fd88f53d81b (patch) | |
tree | 13a42488142c54e1e063d38848a81cd5619468a7 /.drone.yml | |
parent | 81719816ad6a0460c61993b138031dd85a4166c8 (diff) |
updated the coverage step
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 5 |
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 |