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

github actions #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vstadnytskyi
Copy link

@vstadnytskyi vstadnytskyi commented Oct 11, 2022

I have created a folder with GitHub actions. In the folder I put two actions. One to upload the new tagged version of the repo to TestPyPi and another one is for PyPi.

Only one thing is needed on your side is.
Create Secret Token in your repository

  1. login to https://pypi.org
  2. go to account settings /n image
  3. scroll down until you find API Token
  4. Add API token (this is how it looks like in my account. I already have few API tokens created)

image

  1. Follow instructions

Copy the token and go to your GitHub profile
add token as secret in "Settings" -> "Secrets" -> "Actions" of the repository you are setting this up. (Note, it the screenshot below it should be 'PUSH_TO_TESTPYPI' instead of 'test_pypi')
image

in GitHub workflow files I called secrets as "PUSH_TO_TESTPYPI" and "PUSH_TO_PYPI"

image

@codecov
Copy link

codecov bot commented Oct 11, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.22%. Comparing base (a50a899) to head (482c14b).
Report is 13 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   80.22%   80.22%           
=======================================
  Files          13       13           
  Lines         612      612           
=======================================
  Hits          491      491           
  Misses        121      121           

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

@erwanp
Copy link
Owner

erwanp commented Aug 6, 2024

Hello @vstadnytskyi thanks for the contribution i will proceed with the deployment in the coming 2 weeks

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