Skip to content

Commit

Permalink
add some readme badges
Browse files Browse the repository at this point in the history
  • Loading branch information
hanicinecm committed Jan 17, 2022
1 parent 0532d43 commit d39e1ba
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Upload python package to PyPI
name: pypi-deploy

on:
release:
types: [published]

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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Install and test the package
name: tests

on:
push:
Expand Down
18 changes: 16 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/

0 comments on commit d39e1ba

Please sign in to comment.