-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change workflows to be reusable #6
Comments
Sounds like a great idea! Thanks for letting us know about GitHub's new reusable workflows beta :) |
Great idea to unify this across repos, I think that would make things a lot easier. I've seen a few different tools across repos now and I think it would make sense to maybe decide on a standard set of things we want to run on all or most python repos. Would this be a sensible starting point?
|
Sounds great! We could maybe add |
Yeah, sounds good! I'd also go with adding pydoctest, and potentially the release scripts as well? Since they are all the exact same and just copied and pasted as well |
Sounds good! Maybe it makes sense splitting these out into three groups: Linters
Test
Release
|
Yeah! That sounds good |
SGTM! Thanks! |
FYI I made this work for the linting workflow we described above. We now have:
|
Nice! |
Awesome! |
I've added a general test and release ones now too, and updated SatFlow to use them: openclimatefix/satflow@3c2ebc6 |
Awesome! Thanks! Can we close this issue? |
Yeah! Just updated almost all the nowcasting repos to use it now too, so changes here should then affect all our repos |
Awesome! Thanks so much, @jacobbieker! |
Detailed Description
GitHub just released reusable workflows, in beta, https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
It seems like we can reduce a lot of duplication in our repos by moving workflows, especially the PyPi publishing one, linter, and most of the test workflows to here, and just calling them in those repos.
Context
Currently, we have the exact same workflows copied and pasted to all of our new nowcasting repos, and if we want to make changes to one, we have to manually copy and past it to all the other ones to propagate the change.
ToDos
pytest
andpydoctest
)The text was updated successfully, but these errors were encountered: