ptr
ptr copied to clipboard
Fix Coverage running + requirements to support source in different directories
How is ptr not doing what you expect?
ptr can not handle if package_dir is used and modiles are placed in another directory such as src
vanD was failing getting coverage output etc. with this: https://github.com/cooperlees/vanD/commit/b0195b4fefcef31b48d2568dc0781b614e177209
What is your suggestion to make this better?
Workout how to parse coverage in this setup
- maybe just a cd to the directory might fix it?
How can a developer reproduce this?
Run ptr where it creates the venv and it should install latest coverage and not enforce coverage requirements.
This seems to work on ptr's CI. So will look into my project where this is failing and re-open if ptr does need a fix.