Code Coverage integration

Hello! I am double checking with you guys just to make sure that we are not re-inventing the wheel:

Does Gitlab have tools to calculate code coverage? From what I have been able to read on the EE docs, it offers a way to parse from the executors console the output produced by a CC tool.

Since we are using .Net Core 2.0 in Linux/Docker this is what we have set up: filter the test runs using Coverlet and process the output using ReportGenerator. Coverlet runs smoothly in the pipeline. ReportGenerator fails to install properly we are thinking to send the Coverlet output out as an artifact to process outside pipeline.

Has anybody managed to run ReportGenerator inside a pipeline? Or are we missing something in GitLab?

Thanks a lot!

1 Like