Updates test-pr.yml to run precommit hooks, run tests, and test build stability
Adds a create-release workflow which semi-automates the release process
Adds a publish-to-py workflow, which is triggered upon a published release
Updates README with CICD section and a section describing the release process
NOTE: In order to successfully publish to PyPi, a PyPI API Token created by the Volttron PyPI account needs to be created and added as an environmental variable in the 'secrets' of this repo. The environmental variable must be named 'PYPI_TOKEN' so that the 'publish-to-pypi.yml' workflow can successfully publish to PyPi.
@craig8 Can you please add the API token to this repo? I don't have permissions to do so.
Testing
I have tested these workflows using my personal Github account:
Changes
NOTE: In order to successfully publish to PyPi, a PyPI API Token created by the Volttron PyPI account needs to be created and added as an environmental variable in the 'secrets' of this repo. The environmental variable must be named 'PYPI_TOKEN' so that the 'publish-to-pypi.yml' workflow can successfully publish to PyPi. @craig8 Can you please add the API token to this repo? I don't have permissions to do so.
Testing
I have tested these workflows using my personal Github account:
See Workflow actions results:
test-pr.yml create-release.yml publish-to-pypi.yml
Screenshot on PyPi (don't worry, I already deleted my project so that namespace is now open to Volttron to use):