Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: rules/python: Add PYTHON_COVERAGE_TARGET
This resolves #14436 by adding a new environment variable that will perform the coverage label resolution inside the python_stub_template directly, which resolves the python coverage tool by label rather than path. Currently this resolves the path in the runfiles directory by guessing the path the label should resolve to - this of course does not work in general, even just defining an alias breaks it. Since labels appear to only be resolved in the analysis phase, there does not seem to be an easy way around this, however. This is a draft, showing the behavior I would like - suggestions on how to correctly implement this would be appreciated. Co-authored-by: Bradley Burns <bradley.burns@codethink.co.uk>
- Loading branch information