Merge pull request #568 from skirpichev/pypi-uploads
test / build (2.7) (push) Has been cancelled
test / build (3.10-dev) (push) Has been cancelled
test / build (3.4) (push) Has been cancelled
test / build (3.5) (push) Has been cancelled
test / build (3.6) (push) Has been cancelled
test / build (3.7) (push) Has been cancelled
test / build (3.8) (push) Has been cancelled
test / build (3.9) (push) Has been cancelled
test / build (pypy2) (push) Has been cancelled
test / build (pypy3) (push) Has been cancelled

Automate PyPI uploads
This commit is contained in:
Fredrik Johansson
2021-02-09 13:31:34 +01:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -29,3 +29,11 @@ jobs:
run: |
pytest
codecov --required
- name: Make packages
run: python setup.py sdist bdist_wheel
- name: Publish package on PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@f91f98d65eb3eb032447201d64f2c25d67c28efe
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
+1
View File
@@ -35,6 +35,7 @@ develop = %(tests)s
pycodestyle
pytest-cov
codecov
wheel
[pycodestyle]
select = E101,W191,W291,W293,E111,E112,E113,W292,W391
exclude = .eggs,.git