lbathina commented on a change in pull request #3768: Codecov
URL: https://github.com/apache/trafficcontrol/pull/3768#discussion_r310676692
 
 

 ##########
 File path: traffic_monitor/tests/Dockerfile-golangtest
 ##########
 @@ -23,6 +23,6 @@ WORKDIR /go/src/$DIR/traffic_monitor
 
 RUN bash -c "go get -u github.com/jstemmer/go-junit-report"
 RUN bash -c "go get -v"
-CMD bash -c 'go test -v ./... ../lib/go-tc/... 2>&1 | go-junit-report 
--package-name=golang.test.tm --set-exit-code > /junit/golang.test.tm.xml && 
chmod 777 -R /junit && cat /junit/golang.test.tm.xml'
-#
+CMD bash -c 'go test -coverprofile=tmcoverage.out -v ./... ../lib/go-tc/... 
2>&1 | go-junit-report --package-name=golang.test.tm --set-exit-code > 
/junit/golang.test.tm.xml && chmod 777 -R /junit && cat 
/junit/golang.test.tm.xml'
+CMD bash -c 'go tool cover -func=tmcoverage.out'
 
 Review comment:
   my bad. Yes that's right. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to