ptr icon indicating copy to clipboard operation
ptr copied to clipboard

Fix Coverage running + requirements to support source in different directories

Open cooperlees opened this issue 3 years ago • 1 comments

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.

cooperlees avatar Jan 28 '22 06:01 cooperlees

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.

cooperlees avatar Jan 31 '22 03:01 cooperlees