The documentation here says
In order to get coverage metrics for a pull request, first configure a pipeline that validates pull requests. In this pipeline, configure the test tool you are using to collect code coverage metrics. Coverage results must then be published to the server for reporting.
I am not able to understand this. Any example or futher detailed information will be really helpful.