-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Include tests in source distributions #1976
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1976 +/- ##
===========================================
- Coverage 100.00% 99.84% -0.16%
===========================================
Files 21 42 +21
Lines 3909 7818 +3909
Branches 788 1576 +788
===========================================
+ Hits 3909 7806 +3897
- Misses 0 10 +10
- Partials 0 2 +2
Continue to review full report at Codecov.
|
|
I don't really understand how I could have changed the coverage, is that a bug? |
|
The coverage issue is something to do with codecov, it's using a different directory for windows tests and use showing lines missed in windows as misses, look in coverage. I'll try and fix it. On the actual issue, I don't really wan to include tests in the Have you build the binaries and |
I ran
Yes, the generated |
|
looks good to me. My only question would be around whether requirements from |
|
I think The file does get added to the sdist (at least on my setup) but I don't think it's a problem. It won't get installed anyway so it won't pollute the system. |
I realise that, but I thought if you wanted your platform to run tests, you might need a way to define requirements for those tests, hence suggesting If you're happy with this I'll merge it. |
|
thanks |
|
I don't think pytest-mock is even required, tests pass without it :) |
Hi,
We at Gentoo (and Debian too AFAIK) tend to use PyPI tarballs to run tests. Could you please include them in the next release?
Change Summary
Include tests in source distributions.
Checklist
changes/<pull request or issue id>-<github username>.mdfile added describing change(see changes/README.md for details)