How can I import code coverage in Pycharm executed on a different machine?

My goal is to import coverage.py results that run in a non PyCharm process into PyCharm in order to use all of the coverage editor features that come with PyCharm.

I'm using PyCharm Professional Edition so I do have access to the coverage feature.

I have python code that cannot be run directly in PyCharm since it needs to be run from within a database server  process (PL/Python in Postgres if anyone is curious).

I'm using the coverage package within the database process to produce a json report but I can also export the format in any way that coverage.py supports.

According to the documentation of Managing сode сoverage suites there should be a way to "Upload... a coverage suite." The directions say to "Click the Add button and select the necessary .es file in the dialog that opens."

What type of format is the ".es" file? Can coverage.py export into that format directly? Or does that have something to do with "build servers"? I couldn't find anything on google related to .es files + coverage.py and the only relevant result from searching PyCharm documentation for ".es" is the "Managing code coverage suites" page itself.

I tried importing the json report produced by coverage.py but PyCharm wouldn't allow me to select it.

What else can I try in order to import my coverage.py results into PyCharm?

Thanks for any help!

EDIT:
Link to stackoverflow:  https://stackoverflow.com/questions/60994981/how-can-i-import-code-coverage-in-pycharm-executed-on-a-different-machine#

Link to PyCharm bug report: https://youtrack.jetbrains.com/issue/PY-41494

Please sign in to leave a comment.