Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit 9e09973

Browse files
lunnyappleboy
authored andcommitted
Add codecov test coverage (#120)
1 parent 466ac24 commit 9e09973

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.drone.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ pipeline:
3131
- git update-ref refs/heads/test HEAD
3232
- PATH=/opt/git-1.7.2/bin git --version && make test
3333

34-
# coverage:
35-
# image: plugins/coverage:1
36-
# pull: true
37-
# secrets: [ github_token ]
38-
# server: https://coverage.gitea.io
34+
coverage:
35+
image: robertstettner/drone-codecov
36+
secrets: [ codecov_token ]
37+
files:
38+
- coverage.out
39+
when:
40+
event: [ push, pull_request ]
3941

4042
discord:
4143
image: appleboy/drone-discord:1.0.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Build Status](http://drone.gitea.io/api/badges/go-gitea/git/status.svg)](http://drone.gitea.io/go-gitea/git)
44
[![Join the chat at https://img.shields.io/discord/322538954119184384.svg](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/NsatcWJ)
55
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](http://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
6-
[![Coverage Status](https://coverage.gitea.io/badges/go-gitea/git/coverage.svg)](https://coverage.gitea.io/go-gitea/git)
6+
[![codecov](https://codecov.io/gh/go-gitea/git/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gitea/git)
77
[![Go Report Card](https://goreportcard.com/badge/code.gitea.io/git)](https://goreportcard.com/report/code.gitea.io/git)
88
[![GoDoc](https://godoc.org/code.gitea.io/git?status.svg)](https://godoc.org/code.gitea.io/git)
99

0 commit comments

Comments
 (0)