Skip to content
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

codevov does not cov multithread processes #931

Open
arnaudbore opened this issue Mar 1, 2024 · 2 comments
Open

codevov does not cov multithread processes #931

arnaudbore opened this issue Mar 1, 2024 · 2 comments

Comments

@arnaudbore
Copy link
Contributor

Some documentationl:

https://pytest-cov.readthedocs.io/en/latest/subprocess-support.html#if-you-use-multiprocessing-pool

nedbat/coveragepy#883 (comment)

Try some stuff but still doesnt work, thinking about raising an issue even tho this one seems to be very close to what we have

pytest-dev/pytest-cov#139

@arnaudbore
Copy link
Contributor Author

Exemple: https://app.codecov.io/gh/scilus/scilpy/blob/master/scilpy%2Freconst%2Fdivide.py#L266
Even it is tested with this script test: scripts/tests/test_btensor_metrics.py

@AlexVCaron
Copy link
Contributor

Multiprocessing is not covered by pytest-cov anymore. They say use the configuration provided by coverage, here it is, hidden in the changelogs :

https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst#400-2022-09-28

Still not working on my end though ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants