esafak opened a new pull request, #2483: URL: https://github.com/apache/fory/pull/2483
## What does this PR do? This commit refactors the Python wheel CI and release process to use a chained workflow model, ensuring that the exact same test and build process is run for both CI checks and releases. A new reusable workflow, `.github/workflows/reusable-test-and-build-wheels.yml`, is introduced. This workflow is triggered on `push` and `pull_request` for CI purposes, and can also be called by other workflows via `workflow_call`. It contains the full logic for building, testing, and packaging the Python wheel across a matrix of operating systems and Python versions. The `release.yaml` workflow is refactored to be an orchestrator. On a new tag, it now calls the `reusable-test-and-build-wheels.yml` workflow to run all tests. If the tests pass, it proceeds to a separate job to download the wheel artifacts produced by the test run and publish them to PyPI. This architecture ensures that every release is automatically and thoroughly tested in the exact same manner as pull requests, just before publication. ## Related issues #2480 ## Does this PR introduce any user-facing change? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
