-
-
Notifications
You must be signed in to change notification settings - Fork 433
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
sources not displaying in the coverage.xml file #1555
Comments
Hello has there been any update on this issue? |
@etaylork Can you provide us with a way to reproduce the issue? |
@nedbat I provide the details in the description section of my post is there some more information that you require? |
Ideally, you would have a repo with the exact code that demonstrates the failure. |
I'm fairly certain the instructions to reproduce are invalid, given the following:
If I had to read in between the lines, the given source actually includes a trailing slash and is fixed by the "possibly unreported bug" in #1608. |
Describe the bug
In the generated coverage.xml report the tag is not populating the sources path.
To Reproduce
What version of Python are you using?
python = 3.11
pytest = 4.0.0
coverage.py >= 7.0.0
.coveragerc file
Running with command
Actual behavior
Expected behavior
Additional context
This issue is only happening for all coverage.py versions >= 7.0.0 where I cannot get the sources path to display in the coverage.xml file. The tests are running in docker containers.
The text was updated successfully, but these errors were encountered: