diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 2a1f34d..ad3ba23 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -1,7 +1,4 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: Run PyTest +name: pytest on: push: diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 0496791..f8c7e2e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -1,12 +1,8 @@ -# This workflows will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - -name: Upload Python Package +name: pypi on: - push: - tags: - - "v*" + release: + types: [created] jobs: deploy: diff --git a/README.md b/README.md index 79e3b65..2fe3681 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -![build](https://github.com/mysticfall/alleycat-reactive/workflows/Python%20application/badge.svg) +![pytest](https://github.com/mysticfall/alleycat-reactive/workflows/pytest/badge.svg) +[![PyPI version](https://badge.fury.io/py/alleycat-reactive.svg)](https://badge.fury.io/py/alleycat-reactive) # AlleyCat - Reactive A part of the AlleyCat project which supports the _Reactive Object Pattern_.