-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add codecov.io service. #2493
add codecov.io service. #2493
Conversation
rm int.coverage.out;\ | ||
egrep "$$PKG[^/]*\.go" integration.coverage.out > int.coverage.out;\ | ||
gocovmerge $$GOPATH/src/$$PKG/coverage.out int.coverage.out > pkg.coverage.out;\ | ||
grep -h -v "^mode:" pkg.coverage.out >> coverage.all;\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add this line and convert space to tabs.
Drone will get integrated coverage with 0.9 |
@tboerger we can convert back when drone 0.9 is ready. |
FYI, |
@ethantkoenig Yes. it will be fixed in this commit: 18ef72f |
In generate_coverage there are lot of errors like |
Codecov Report
@@ Coverage Diff @@
## master #2493 +/- ##
===========================================
+ Coverage 3.03% 27.85% +24.81%
===========================================
Files 33 83 +50
Lines 8108 16825 +8717
===========================================
+ Hits 246 4686 +4440
- Misses 7842 11464 +3622
- Partials 20 675 +655
Continue to review full report at Codecov.
|
Only two conditions we need to generate the coverage report.
or
|
.drone.yml
Outdated
when: | ||
event: [ pull_request ] | ||
|
||
test-master: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you separate master and pull requests?
You can combine the conditions when event: push, pull_request and branch: master are combined it triggers for pushs on master AND pull requests against master. |
Ah and beside that I would name the steps the same since anyway only one of them should be executed per build |
@tboerger Done |
LGTM |
LGTM |
@appleboy please rebase |
Your makefile needs additional changes after my PR was merged to generate mysql.ini from mysql.ini.tmpl |
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Add codecov.io coverage service. See https://codecov.io/gh/go-gitea/gitea