Golang code coverage report

Hi,

I have a build step in TeamCity Enterprise 2017.2.2 (build 50909) to build a go application. 

I have a coverage profile collected in a file - coverage.out. The contents look as follows:

ok github.com/prometheus/prometheus/config 0.321s coverage: 89.5% of statements
ok github.com/prometheus/prometheus/discovery 6.440s coverage: 72.0% of statements

What do I need to do with so that I can show the output in code coverage summary showing status bar ? 

Dhiman

 

0

Please sign in to leave a comment.