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 release workflow for PyPI + TestPyPI #45

Merged
merged 3 commits into from
Sep 22, 2023
Merged

Conversation

BradyPlanden
Copy link
Member

This adds a release workflow that is triggered on push. This will deploy new releases onto TestPyPI with each push and only tagged releases to PyPI. This PR closes #44.

@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #45 (66507e9) into develop (38e8339) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #45   +/-   ##
========================================
  Coverage    76.85%   76.85%           
========================================
  Files           14       14           
  Lines          337      337           
========================================
  Hits           259      259           
  Misses          78       78           

Copy link
Contributor

@martinjrobins martinjrobins left a comment

Choose a reason for hiding this comment

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

looks great, did you setup pybop on testpypi and pypi?

runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pybop
Copy link
Contributor

Choose a reason for hiding this comment

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

couldn't find pybop on pypi? Did you make an account?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's in a pending state until the first deployment, if you send across your PyPI username I'll add you to the project.


environment:
name: testpypi
url: https://test.pypi.org/p/<package-name>
Copy link
Contributor

Choose a reason for hiding this comment

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

insert package-name here :)

@BradyPlanden BradyPlanden merged commit 87a28cf into develop Sep 22, 2023
12 checks passed
@BradyPlanden BradyPlanden deleted the release-actions branch September 22, 2023 08:18
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.

PyPI and TestPyPI releases
2 participants