Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Scoverage work - add scoverage to OSS pants #8064
This PR is in response to issue #8026.
It attempts to add scoverge by creating a new subsystem scoverage_platform.py and modifies the scala_library target according to the subsystem in case scoverage is enabled.
Users can run scoverage by running the following command:
I have added tests for the new subsystem in test_scoverage_platform.py. Run them as follows:
Please take a look at my comment below for a list of all the modified files.
Scoverage (2/2) - Adding report generator
backend/jvm/tasks/coverage/manager.py: Adding support for scoverage
New Files Added
backend/jvm/tasks/coverage/scoverage.py: scoverage runtime subsystem
Major files added
Major files changed
@sammy-1234: re: the lint errors: are you using the commit hooks? https://www.pantsbuild.org/howto_contribute.html#getting-pants-source-code
Thanks for that. But even then, it is still giving me this weird error:
and then failing with:
Any clue how I can resolve this? Thanks :)