Skip to content

Conversation

@adilhusain-s
Copy link
Collaborator

Summary

Update CI workflow to test across multiple architectures (x64, ppc64le, s390x) using IBM's Python setup action.

Changes

  • Matrix Strategy: Added matrix configuration to run tests on three architectures:

    • ubuntu-24.04 (x64) - GitHub-hosted runner
    • ubuntu-24.04-ppc64le - Self-hosted runner
    • ubuntu-24.04-s390x - Self-hosted runner
  • Setup Action: Switched from actions/setup-python@v5 to IBM/setup-python-pz@main with architecture parameter for proper cross-architecture support

  • Config: Added .github/actionlint.yaml to define custom self-hosted runner labels for workflow validation

Why

Testing across multiple architectures ensures Python builds work consistently on different platforms supported by this project. The custom IBM action provides better compatibility for ppc64le and s390x architectures.

Testing

  • All tests run on each architecture
  • fail-fast: false ensures complete test results across all platforms
  • Workflow validated with actionlint

Files Changed

  • .github/workflows/tests.yml - Matrix strategy and action updates
  • .github/actionlint.yaml - Custom runner label configuration

Signed-off-by: Adilhusain Shaikh <Adilhusain.Shaikh@ibm.com>
- Add matrix strategy to test across x64, ppc64le, and s390x architectures
- Switch to IBM/setup-python-pz@main for better cross-architecture support
- Configure actionlint with custom self-hosted runner labels
- Use fail-fast: false to ensure complete test results across all platforms

Signed-off-by: Adilhusain Shaikh <Adilhusain.Shaikh@ibm.com>
@adilhusain-s adilhusain-s force-pushed the python-test-on-native branch from 6e17414 to 8e29af3 Compare January 9, 2026 07:02
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