Closed sphuber closed 2 years ago
I also wish there was an obvious way to re-use portions of the pipelines, because they are the same in ci and cd, but from what I learned from the docs there are some drawbacks and I don't think we should care.
Indeed, I also looked into this, but for now we should simply remember to update both workflows if one has to be changed. This shouldn't happen too often though, so should be ok.
The
cd.yml
is a Github Actions workflow that triggers when a new tag is pushed to the source repository. It will check that the version specified in the__version__
attribute matches that of the tag, and if the case will run the full test suite. If all tests pass, the package will be built usingflit
and pushed to PyPI. This will significantly simplify and automate the release process.