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

Test the dists #1134

Open
atugushev opened this issue May 4, 2020 · 0 comments
Open

Test the dists #1134

atugushev opened this issue May 4, 2020 · 0 comments
Labels
ci Related to continuous integration tasks maintenance Related to maintenance processes tests Testing and related things

Comments

@atugushev
Copy link
Member

When you run tox, it works with the source in the project dir and even creates some temporary dists. But they are not what you're going to publish to PyPI hence you test not exactly the same as users will get. Also, you may be testing not what's installed for various reasons.
Better way would be to divide this process into stages:

  (1) build dists -> (2) test dists from [1] -> (3) upload *exactly* those dists from [1] that have been tested

Originally posted by @webknjaz in #1012 (comment)

@atugushev atugushev added ci Related to continuous integration tasks maintenance Related to maintenance processes tests Testing and related things labels May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Related to continuous integration tasks maintenance Related to maintenance processes tests Testing and related things
Projects
None yet
Development

No branches or pull requests

1 participant