mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Add code coverage to the tests
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
FROM crosbymichael/golang
|
||||
|
||||
RUN apt-get update && apt-get install -y gcc
|
||||
RUN go get code.google.com/p/go.tools/cmd/cover
|
||||
|
||||
ADD . /go/src/github.com/docker/libcontainer
|
||||
WORKDIR /go/src/github.com/docker/libcontainer
|
||||
RUN go get -d ./... && go install ./...
|
||||
|
||||
CMD ["go", "test", "./..."]
|
||||
CMD ["go", "test", "-v", "-cover", "./..."]
|
||||
|
||||
Reference in New Issue
Block a user