aiidateam / aiida-pseudo

MIT License
5 stars 8 forks source link

Devops: add GitHub Actions workflow for continuous deployment #123

Closed sphuber closed 2 years ago

sphuber commented 2 years ago

This workflow will be triggered when a new tag is pushed that matches a semantic versioning pattern. If it is pushed to the main repository of the aiidateam account, a Python script validate_release_tag.py is run that will parse the __version__ attribute of the package and compare it to the version of the tag. If they don't match, the workflow is aborted.

Otherwise, the pre-commit and the unit test suite is ran, and when successfull, flit is used to build and publish the package to PyPI.