depfinder icon indicating copy to clipboard operation
depfinder copied to clipboard

Auto publish to PyPI

Open ocefpaf opened this issue 3 years ago • 3 comments

I modernized things a bit and publishing should be as easy as just issuing a tag.

@ericdill I don't have enough rights here to add the PyPI token. Can you do that?

ocefpaf avatar Aug 05 '22 14:08 ocefpaf

how / where do I need to add the pypi token?

ericdill avatar Aug 05 '22 14:08 ericdill

how / where do I need to add the pypi token?

You can create one by clicking here

https://pypi.org/manage/account/token/

then you add it as a repository secret here

https://github.com/ericdill/depfinder/settings/secrets/actions/new

and we should be all set.

ocefpaf avatar Aug 05 '22 14:08 ocefpaf

I'm not sure who coverage works but this PR deletes more than it adds and the two places where code is added are the tests and a version scheme in setup.py, for both I cannot really add tests for to increase coverage :-/

ocefpaf avatar Aug 05 '22 15:08 ocefpaf

Codecov Report

Base: 91.99% // Head: 91.57% // Decreases project coverage by -0.41% :warning:

Coverage data is based on head (10d5931) compared to base (63106c5). Patch coverage: 50.00% of modified lines in pull request are covered.

:exclamation: Current head 10d5931 differs from pull request most recent head 3c992e5. Consider uploading reports for the commit 3c992e5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   91.99%   91.57%   -0.42%     
==========================================
  Files           7        7              
  Lines         462      463       +1     
==========================================
- Hits          425      424       -1     
- Misses         37       39       +2     
Impacted Files Coverage Δ
depfinder/__init__.py 75.00% <50.00%> (-25.00%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

codecov-commenter avatar Jan 04 '23 20:01 codecov-commenter

Closing this and re-working it in #79

ocefpaf avatar Jan 04 '23 20:01 ocefpaf