Skip to content

Python packaging action to PyPI#106

Merged
beelit94 merged 2 commits intobeelit94:developfrom
kirankotari:develop
Jun 4, 2021
Merged

Python packaging action to PyPI#106
beelit94 merged 2 commits intobeelit94:developfrom
kirankotari:develop

Conversation

@kirankotari
Copy link
Copy Markdown
Collaborator

Auto publish python package to pypi, either need to get access to the PyPI or
The owner can add the Secret keys in the repo -> settings -> secrets -> PYPI_API_TOKEN

Auto publish python package to pypi
- name: Build python package
run: |
python setup.py sdist bdist_wheel
- name: Publish package
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

could we also add a test run here? e.g.

pytest -v

Copy link
Copy Markdown
Collaborator Author

@kirankotari kirankotari Jun 1, 2021

Choose a reason for hiding this comment

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

definitely, but this action only work on new release. I can add another action for testing.

@beelit94
Copy link
Copy Markdown
Owner

I have added PYPI_API_TOKEN to secret

@beelit94 beelit94 merged commit b80c977 into beelit94:develop Jun 4, 2021
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