Add TestPyPI publishing workflow for release PRs #108#223
Add TestPyPI publishing workflow for release PRs #108#223AdityaGupta716 wants to merge 3 commits intoprecice:developfrom
Conversation
|
Hey @MakisH @IshaanDesai, plz review! TestPyPI trusted publisher needs to be configured at test.pypi.org by a maintainer for the workflow to actually run |
|
This pull request has been mentioned on preCICE Forum on Discourse. There might be relevant details there: https://precice.discourse.group/t/gsoc-2026-aditya-gupta/2773/1 |
IshaanDesai
left a comment
There was a problem hiding this comment.
Thanks for the contribution. The intention of publishing on TestPyPI after releasing is to ensure that the release to PyPI is successful. Keeping this in mind, can you please check whether we can configure the release.yml workflow to run only after publish-to-testpypi.yml succeeds?
Also, please take a look at the release.yml workflow and use the latest versions of the actions.
e48f3c4 to
cde86ab
Compare
92a2b84 to
c27e03e
Compare
|
@IshaanDesai hi, addressed both comments, Restructured release.yml so PyPI publish only runs after publish-to-testpypi succeeds via needs, and updated all action versions to match the rest of the repo. |
Closes #108
Adds a new workflow that publishes to TestPyPI every time a PR targeting main is opened or updated.
Changes:
publish-to-testpypi.ymlworkflow that builds the package and publishes to TestPyPI on release PRsNote: A TestPyPI trusted publisher needs to be configured by a maintainer at test.pypi.org for this workflow to work.