-
Notifications
You must be signed in to change notification settings - Fork 21
Implement central GitHub CI workflow #99
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
Conversation
@sbillinge Could you please merge? The news item CI will be available once it is merged due to the keyword of To use the This behavior was reproduced in diffpy.snmf - diffpy/diffpy.snmf#79) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, super exciting. I wonder if we want to finish testing, merge into cookiecutter and then recut everything so it is all the same and takes less review.
For example, I see here that @Tieqiong's indents for his lists are further to the left than we have been using conventionally. This is fine of course, but then breaks a standard we have been using, so before we roll this out to all the repo's let's at least discuss it.
Also I initiated a discussion about whether we want to make branches that capture different versions as seems to be a standard for other workflows, so it is @v1
, @v2
instead of @main
. From a practical perspective, its no different because we will sync main with v#
branch, but since we want to create a standard that we use across all projects, let's work to decide what the standard is. The nice thing about recookiecutting after we have done this is that all the changes since the last cookiecut are incorporated in all the projects.
Yes, I agree that we shall update the .yml files while recutting.
If you ask me, I suggest that we stick with how Github does it (our previous way) since we may also need to copy a portion of their boilerplate .yml files in the future as well: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-python
Right, @v1, @v2, seem like a great solution. From a maintainer's perspective, seeing Update: seeing Tieqiong's comment below, using |
For the indentation I think our previous way is better. It was probably caused by the yaml package used in For the versioning, see the discussion in scikit-package/scikit-package#126. I might be a bit unclear but I meant we should still have |
We wouldn't have to update the repos, just keep main and v0 synced. We only break into v1 if we want v0 and v1 to both be available to different repos. I am still not convinced that we should go with main tbh, though I get the argument |
I think I get the idea now. So instead of having versioning as a progressive changes on the same set of workflows, we use version number to map repos with the corresponding set of workflows. For example we can use v0 for everything we have now, and make for example v1 for another set of different workflows (potentially with the same file names) for any future repos that need different workflows, so that we can make This indeed would be very nice to have. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, closing this as a part of #101 |
No description provided.