-
-
Notifications
You must be signed in to change notification settings - Fork 443
Update pyproject.toml to fix coverage paths #7992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Fingers crossed this passes in PR CI. If ti does then I think it will solve comprehensive fails too. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7992 +/- ##
===========================================
- Coverage 92.91% 46.71% -46.20%
===========================================
Files 647 645 -2
Lines 60875 60854 -21
===========================================
- Hits 56560 28429 -28131
- Misses 4315 32425 +28110 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
We lost 28167 lines from coverage |
Wonder if it would be easier to almost just start over with a base codecov config designed for src and see what happens |
The whole problem is that we have tests in the source tree. |
What did you think about merging #8001 and working here on codecov reports? |
References and relevant issues
Closes: #7961 (comment)
Description
So I think the issue is that now with src layout tests are actually using the installed package in site-packages and coverage gets the full path used to import. Before it was just the repo path.
Here I try to userelative_files
so that the simple relative paths can be used, deleting the spurious full paths.Docs: https://coverage.readthedocs.io/en/latest/config.html#run-relative-filesSo in this PR I add full paths for macos/linux.