erwanp / pytexit

Convert a Python expression to a LaTeX formula
https://pytexit.readthedocs.io/
Other
114 stars 31 forks source link

github actions #61

Open vstadnytskyi opened 1 year ago

vstadnytskyi commented 1 year ago

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
  5. 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[bot] commented 1 year ago

Codecov Report

Base: 80.22% // Head: 80.22% // No change to project coverage :thumbsup:

Coverage data is based on head (482c14b) compared to base (a50a899). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #61 +/- ## ======================================= Coverage 80.22% 80.22% ======================================= Files 13 13 Lines 612 612 ======================================= Hits 491 491 Misses 121 121 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erwan+Pannier). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Erwan+Pannier)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.