-
Notifications
You must be signed in to change notification settings - Fork 85
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
Fix architectures in PyPI workflow #1795
Conversation
@flongford I think this is the final piece to get Traits CI back into a fully working state. |
.github/workflows/test-from-pypi.yml
Outdated
os: [ubuntu-latest, windows-latest, macos-latest, macos-13] | ||
python-architecture: [x86, x64, arm64] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potentially this multi-dimensional matrix might work / look a bit cleaner:
os: [ubuntu-latest, windows-latest, macos-latest, macos-13] | |
python-architecture: [x86, x64, arm64] | |
system: | |
- os: ubuntu-latest | |
architecture: x86 | |
- os: windows-latest | |
architecture: x86 | |
- os: windows-latest | |
architecture: x64 | |
- os: macos-13 | |
architecture: x86 |
Then use system.os
and system.architecture
variables accordingly.
I don't trust GH syntaxt to unpack arrays beyond the first nested set, so I explicitly declared the windows-latest
architecture options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you - adopted exactly this solution after some internal discussion (and before seeing this comment - sorry).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR attempts to fix the architectures in the test-from-pypi.yml workflow. The intent is to run tests on the following combinations:
We also:
Test run: https://github.com/enthought/traits/actions/runs/8998474167