Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix PyPi trusted publishing in GitHub Actions #26

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

clintval
Copy link
Member

@clintval clintval commented Sep 18, 2024

Closes: #3
Closes: #24

And the updated PyPi trusted publisher config:

Screenshot 2024-09-18 at 11 25 30 AM

@clintval
Copy link
Member Author

This will not be possible to test without making a release of some kind.

@@ -124,7 +124,6 @@ jobs:
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }}
body: |
${{ needs.draft-changelog.outputs.release_body }}
body: ${{ needs.make-changelog.outputs.release_body }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This appeared to be a bug referencing a job that didn't exist.

Comment on lines +38 to +39
[python-package-badge]: https://github.com/fulcrumgenomics/prymer/workflows/publish_prymer/badge.svg
[python-package-link]: https://github.com/fulcrumgenomics/prymer/actions/workflows/publish_prymer.yml
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links don't exist yet, but will once the first action runs.

@clintval
Copy link
Member Author

clintval commented Sep 18, 2024

Very confused why tests are failing...

Looks like it was a transient issue...

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.35%. Comparing base (8d332df) to head (efe115b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   97.35%   97.35%           
=======================================
  Files          25       25           
  Lines        1587     1587           
  Branches      300      300           
=======================================
  Hits         1545     1545           
  Misses         23       23           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@msto msto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks for fixing

.github/workflows/publish_prymer.yml Show resolved Hide resolved
@clintval clintval merged commit 45c3b42 into main Sep 19, 2024
6 checks passed
@clintval clintval deleted the cv_fix_publishing branch September 19, 2024 16:28
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.

The publish badge on the home page is marked as failing pypi publishing tries to upload pybedlite
3 participants