Closed afuetterer closed 1 week ago
Great initiative @afuetterer! I think that sounds good, let's hear what @lkstrp thinks :)
Structurally there is no big difference to what is currently done in PyPSA, is there? But building wheels instead and adding artifacts looks great, so let's go!
No, not really that big of a difference. But having ci and cd in all your repos males it much more readable, I think. Sometimes you have "tests", "release", "deploy".
I will make a suggestion then?
Your cd workflows start by pushing a tag, right?
exactly
Your cd workflows start by pushing a tag, right?
Yes. Right now it's basically: tests -> CI, deploy -> CD. Except in linopy, there is also release, which should be moved in deploy/ CD.
In some repos there will be a validation CI soon. I think it is better to keep that workflow seperated from the Tests CI. Even if it could lead to some redundancy with the build job. So let's in my view, let's stick with tests.yml and deploy.yml (and in future validate.yml) everywhere.
As previously discussed here: https://github.com/PyPSA/linopy/issues/313#issuecomment-2213371885.
I would like to propose the following changes. These might be used in the other PyPSA repos as well, if desired.
Proposal to follow these guidelines: https://learn.scientific-python.org/development/guides/gha-pure/ As used in their template: https://github.com/scientific-python/cookie/tree/main/%7B%7Bcookiecutter.project_name%7D%7D/.github/workflows
What do you think?