Adjust python-sample workflow runner matrix and diagnostics#19
Open
adilhusain-s wants to merge 1 commit intomainfrom
Open
Adjust python-sample workflow runner matrix and diagnostics#19adilhusain-s wants to merge 1 commit intomainfrom
adilhusain-s wants to merge 1 commit intomainfrom
Conversation
Signed-off-by: Adilhusain Shaikh <Adilhusain.Shaikh@ibm.com>
22389fc to
9b176a0
Compare
Member
|
@adilhusain-s can we close this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Python binaries used by GitHub Actions are produced and consumed across the following repositories:
actions/python-versionsbuilds and publishes Python release tarballs used byactions/setup-pythonIBM/python-versions-pzbuilds and publishes Python tarballs forppc64leands390xIBM/setup-python-pzconsumes tarballs fromIBM/python-versions-pzforppc64leands390xamd64andarm64,IBM/setup-python-pzredirects to the upstreamactions/python-versionsartifactsThis repository (
python-versions-pz) provides the Python build artifacts consumed byIBM/setup-python-pz.Purpose of the Sample Workflow
The
python-sample.ymlworkflow is a reference example showing how an end user can consume Python usingIBM/setup-python-pzacross multiple architectures.At present,
IBM/setup-python-pzdoes not publish versioned tags. For that reason, the sample workflow intentionally uses:This reflects the current consumption model and avoids implying the existence of released tags.
Example Usage (for Consumers)
A minimal example of consuming Python using the IBM-provided setup action:
The sample workflow demonstrates this pattern across multiple runner architectures.
Summary
This PR updates the
python-sample.ymlworkflow to make the runner matrix explicit and to add basic runtime visibility when consuming Python viaIBM/setup-python-pz.The change is limited to the sample workflow and does not affect build, release, or publishing logic.
Changes
Rename the workflow for clarity
Replace
matrix.oswith explicitrunnerandarchfieldsUse
matrix.runnerforruns-onUpdate the tested Python version from 3.13.4 to 3.14.2
Add grouped log output showing:
Rename the verification step to better reflect its purpose
Runner Matrix
The sample workflow runs on:
ubuntu-24.04(x64, GitHub-hosted)ubuntu-24.04-ppc64le(native hardware)ubuntu-24.04-s390x(native hardware)Verification
The workflow was triggered manually and completed successfully on all matrix entries:
https://github.com/IBM/python-versions-pz/actions/runs/20787141292
Scope