sozorogami / gover Goto Github PK
View Code? Open in Web Editor NEWGather all your *.coverprofile files to send to coveralls.io!
License: Apache License 2.0
Gather all your *.coverprofile files to send to coveralls.io!
License: Apache License 2.0
In the readme it says I can just do go test ./...
but that doesn't generate any coverprofile files for gover to concatenate. Maybe it would be nice if I could do gover test
and then gover
to wrap up all the files?
When run command gover
to gather these *.coverprofile files after ran test. An error has occur:
/bosh-softlayer-cpi-release# COVERALLS_TOKEN=TOKEN_TEST goveralls -coverprofile=gover.coverprofile -service=travis-ci
06:28:24 gocover.go:91: Can't find can't find "json.go": cannot find package "bosh-softlayer-cpi/action/create_stemcell.go:33.16,35.3 1 1bosh-softlayer-cpi/api/dispatcher/" in any of:
(from $GOROOT)
(from $GOPATH)
The line of string bosh-softlayer-cpi/action/create_stemcell.go:33.16,35.3 1 1bosh-softlayer-cpi/api/dispatcher/
was combined two *.coverprofile in two paths should have be spilted.
I have to split these error lines manually now. That is very grateful if you guys fix this issue.
I think this picture speaks for itself:
porridge@beczulka:~/Desktop/coding/go/src/k8s.io/ingress$ ls -l gover.coverprofile;gover
ls: cannot access gover.coverprofile: No such file or directory
porridge@beczulka:~/Desktop/coding/go/src/k8s.io/ingress$ ls -l gover.coverprofile;gover
-rw-r----- 1 porridge eng 146137 lut 24 14:58 gover.coverprofile
porridge@beczulka:~/Desktop/coding/go/src/k8s.io/ingress$ ls -l gover.coverprofile;gover
-rw-r----- 1 porridge eng 292264 lut 24 14:58 gover.coverprofile
porridge@beczulka:~/Desktop/coding/go/src/k8s.io/ingress$ ls -l gover.coverprofile;gover
-rw-r----- 1 porridge eng 438391 lut 24 14:58 gover.coverprofile
porridge@beczulka:~/Desktop/coding/go/src/k8s.io/ingress$
This means gover.coverprofile
needs to be explicitly cleaned up before each execution of gover
. Otherwise it causes data corruption and can lead to goveralls crashing (mattn/goveralls#86).
This happened for us in kubernetes/ingress-nginx#338.
Is this by design, or a bug?
code.google.com will be shutting down in the future, so the instructions should probably start pointing somewhere else to get gover.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.