-
Notifications
You must be signed in to change notification settings - Fork 734
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
Add test for initialize breaking the template #4855
Conversation
271af8c
to
d73041e
Compare
I have no idea how the CI for that works in tools @nf-core/infrastructure 😬 looks like I need some template files but I can't find those. |
Can include any other files that might break the template as well
Need to migrate to nf-test
485e5e2
to
0392574
Compare
Sorry, not sure I understand what this is for? Is this so when you create a pipeline the modules/subworkflows components haven't messed up the default running? |
Exactly! Scenario: PR to this breaks the template. There's no check. It breaks tools but doesn't get discovered for a week. Then @nf-core/infrastructure has to go back and figure out the murder mystery. |
Hmmm can we approach this in a better way? It's hideously convoluted to test a different repo within another repo.
That way, the tests can all be done on the Put another way, we should make it so there is no way updating a subworkflow or module breaks the template. This also applies to default modules like FASTQC and MultiQC. |
Love it, that's the goal!
Yeah it's a bit much to think about. How does tools currently install/update fastqc? |
It's a manual step in the release process: https://github.com/nf-core/tools/blob/master/.github/RELEASE_CHECKLIST.md?plain=1#L6 |
It just copy + pastes it. It could actually be completely out of sync and we wouldn't know until tests in |
Via @mashehu -bot nf-core/tools@8d1094c So we'd catch it there, might just go a few months without noticing, or be something that breaks when the dependancies get bumped before release and stales it. Maybe a cron job that runs the module and subworkflow update and bumps it in modules so it can get fixed ahead of time and not block a release? |
(regarding copy + pasting the module) Which is a pretty good choice - simpler is better. |
couldn't renovate do this? |
Probably, I think we debated it. But I think that's a whole thing to make a renovate datasource for nf-core/modules. |
closing this, because we will use nf-core/tools#2733 instead |
If we're moving stuff out of the template that can break the template we need to check for changes.
Can include any other files that might break the template as well.