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

Run tests after building wheels #13

Merged

Conversation

Jackenmen
Copy link
Contributor

@Jackenmen Jackenmen commented Aug 2, 2024

This PR makes cibuildwheel test the wheels themselves by installing them and running the tests in an isolated env after the build.

Additionally, I figured there is probably no point in duplicating the same work and I removed the install_and_test job that the wheel build depended on. While doing so, I noticed that the needs for upload_pypi job doesn't actually depend on the sdist job to finish, even though it requires its output so I fixed that at the same time.

I think that adding the test-command itself is probably non-controversial but I'm not as sure about install_and_test. Let me know, if you think that I should keep it.


Since I also made #14 at the same time, I ran a workflow job with both of these merged here:
https://github.com/Jackenmen/audioop/actions/runs/10220145547?pr=3
The ideal scenario would be to have both of these merged to ensure that the cross-compiled wheels pass the tests. I should note that the Windows ARM64 build can only be tested on an arm64 runner and therefore that could not be tested.

@AbstractUmbra AbstractUmbra merged commit e7d479d into AbstractUmbra:main Aug 2, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants