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

Add PyPI release workflow #317

Merged
merged 3 commits into from
Jun 4, 2024
Merged

Add PyPI release workflow #317

merged 3 commits into from
Jun 4, 2024

Conversation

tovrstra
Copy link
Member

This is another step to address #313.

The included workflow will make releases on PyPI and test releases on test.pypi.org.

I'm using an updated version of the trusted publisher workflow from: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
(This documentation has some outdated versions of the relevant GitHub actions, which was easy to fix.)

We will only properly see this in action (and validate that it works) after the pull request is merged into main, because that is the branch from which releases are made.

@tovrstra
Copy link
Member Author

I will YOLO-merge this on Wednesday June 5, unless approved earlier. Shortly after, I'll make another alpha release to make sure it all works as expected.

Copy link

sonarqubecloud bot commented Jun 3, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
11.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

If we'd ever be interested in conda releases,
a package on conda-forge would be more of use.
Copy link

deepsource-io bot commented Jun 3, 2024

Here's the code health analysis summary for commits 486e413..c56a117. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Python LogoPython✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Member

@PaulWAyers PaulWAyers left a comment

Choose a reason for hiding this comment

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

LGTM

@tovrstra
Copy link
Member Author

tovrstra commented Jun 4, 2024

Thanks for the review!

@tovrstra tovrstra merged commit d82917a into theochem:main Jun 4, 2024
10 checks passed
@tovrstra tovrstra deleted the pypi branch June 4, 2024 18:02
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.

2 participants