Skip to content

Improve integration test options #2385

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Improve integration test options #2385

wants to merge 3 commits into from

Conversation

joerick
Copy link
Contributor

@joerick joerick commented May 10, 2025

Apologies for another 3.x PR, this has been sitting in my local repo for a few days so I thought I'd polish it up.

Essentially, I find myself setting CIBW_ENABLE and CIBW_PLATFORM locally to run integration tests more and more, but as discussed previously, it's not very user friendly.

This necessitates a change from the utils.platform variable we had before to a utils.get_platform() function. But I think it's worth it, it also means we're not duplicating state between os.environ and utils.platform.

joerick added 3 commits May 10, 2025 12:25
- Keep the platform and enable options in os.environ, don't duplicate state in utils
- Provide more user-friendly options for setting enable and platform in integration tests
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.

1 participant