diff --git a/.github/workflows/python-pkg-cd.yml b/.github/workflows/pypi-deploy.yml similarity index 88% rename from .github/workflows/python-pkg-cd.yml rename to .github/workflows/pypi-deploy.yml index bf0f682..ad482a0 100644 --- a/.github/workflows/python-pkg-cd.yml +++ b/.github/workflows/pypi-deploy.yml @@ -1,4 +1,4 @@ -name: Upload python package to PyPI +name: pypi-deploy on: release: @@ -6,7 +6,7 @@ on: jobs: deploy: - name: Build and deploy the package to TestPyPI + name: Build and deploy the package to PyPI runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/python-pkg-ci.yml b/.github/workflows/tests.yml similarity index 95% rename from .github/workflows/python-pkg-ci.yml rename to .github/workflows/tests.yml index 7d07b21..789030b 100644 --- a/.github/workflows/python-pkg-ci.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Install and test the package +name: tests on: push: diff --git a/README.rst b/README.rst index b613eb0..928f69d 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,15 @@ -.. _GitHub: https://github.com/xnx/pyvalem -.. _PyPI: https://pypi.org/project/pyvalem/ +|Tests action| |GitHub license| |PyPI version| |PyPI pyversions| |Code style| + +.. |Tests action| image:: https://github.com/xnx/pyvalem/workflows/tests/badge.svg + :target: https://github.com/xnx/pyvalem/actions +.. |GitHub license| image:: https://img.shields.io/github/license/xnx/pyvalem.svg + :target: https://github.com/xnx/pyvalem/blob/master/LICENSE +.. |PyPI version| image:: https://img.shields.io/pypi/v/pyvalem.svg + :target: https://pypi.python.org/pypi/pyvalem/ +.. |PyPI pyversions| image:: https://img.shields.io/pypi/pyversions/pyvalem.svg + :target: https://pypi.python.org/pypi/pyvalem/ +.. |Code style| image:: https://img.shields.io/badge/code%20style-black-000000.svg + :target: https://github.com/psf/black *********************** Introduction to PyValem @@ -201,3 +211,7 @@ another layer of usefulness. The project code is formatted by ``black``. Always make sure to format your code before submitting a pull request, by running ``black`` on all your python files. + + +.. _GitHub: https://github.com/xnx/pyvalem +.. _PyPI: https://pypi.org/project/pyvalem/ \ No newline at end of file