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

Automatic publishing on PyPI on new release #77

Merged
merged 16 commits into from
Aug 28, 2024

Conversation

adamamer20
Copy link
Collaborator

@adamamer20 adamamer20 commented Aug 25, 2024

This PR adds automatic publishing to PyPI on a new GitHub release.
The GitHub Action:

  • Gets the release tag and sets the Hatch version
  • Builds the package with Hatch
  • Runs tests for the package
  • Publishes on PyPI
  • Creates a version branch on GH
  • Bumps the version in main (ensuring it's the most recent version if installed from source)

I removed polars/pandas backend choice to make installation easier.

@adamamer20 adamamer20 linked an issue Aug 25, 2024 that may be closed by this pull request
.github/workflows/publish.yml Outdated Show resolved Hide resolved
Copy link

codecov bot commented Aug 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
mesa_frames/__init__.py 100.00% <100.00%> (ø)

@adamamer20 adamamer20 self-assigned this Aug 25, 2024
@adamamer20 adamamer20 added the ci Changes to CI configuration files and scripts. label Aug 25, 2024
@adamamer20 adamamer20 added this to the 0.1.0 Alpha Release milestone Aug 25, 2024
@adamamer20 adamamer20 merged commit 73eae6d into main Aug 28, 2024
7 checks passed
@adamamer20 adamamer20 deleted the 76-automatic-publishing-on-pypi-on-release branch August 28, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Changes to CI configuration files and scripts.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic Publishing on PyPI on release
3 participants