Closed BenediktBurger closed 8 months ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
575 | 5 :zzz: | 0 :x: | 0 :fire: | 14.641s :stopwatch: |
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
ab7ba64
) 86.46% compared to head (bd98319
) 86.46%. Report is 1 commits behind head on main.:exclamation: Current head bd98319 differs from pull request most recent head 8b50a86. Consider uploading reports for the commit 8b50a86 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Add a workflow to upload a release to PyPI once it is published.
It requires to add a publisher to PyPI, which seems to be the most recent authentication scheme. @bilderbuchi , could you either add me (https://pypi.org/user/bburger/) as a maintainer to pyleco on pypi, or setup pypi to accept releases from github? This is simply to enter the owner name, the repo name, the file name ("python-publish.yml") and the environment name (not applicable yet).
I did both those things. Concerning the environment name, pypi says
The name of the GitHub Actions environment that the above workflow uses for publishing. This should be configured under the repository's settings. While not required, a dedicated publishing environment is strongly encouraged, especially if your repository has maintainers with commit access who shouldn't have PyPI publishing access.
So I suggest you configure that environment name as appropriate with your new access, already now.
Thank you for pushing the state of our build setup here! I imagine this will also be a useful trial for doing the same thing in the pymeasure repo...
I created a release environment (which requires manual approval by you or me) and made this script use that environment. Pypi will only accept that environment (also to test, that it works as expected, for pymeasure).
Add a workflow to upload a release to PyPI once it is published.
It requires to add a publisher to PyPI, which seems to be the most recent authentication scheme. @bilderbuchi , could you either add me (https://pypi.org/user/bburger/) as a maintainer to pyleco on pypi, or setup pypi to accept releases from github? This is simply to enter the owner name, the repo name, the file name ("python-publish.yml") and the environment name (not applicable yet).
That will make releases quite simple: Create changelog, make a github release, done.