-
Notifications
You must be signed in to change notification settings - Fork 134
fix: also find tests under outputs, ensure all outputs have tests #1057
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
base: master
Are you sure you want to change the base?
Conversation
Thanks @dlaehnemann! Can you add a test case for this? |
Will do, thanks for the detailed pointers! |
OK, good thing you asked for a test here, because obviously, it's complicated. The latest commit makes this work for Long story short:
So I think the way forward for And are there any plans for And here's where the spec lives as a JSON schema: |
And maybe regarding the direct way forward with this pull request, I would like to know if there is agreement to work towards the future If so, I would adjust this pull request with a suggestion of a more general way to ensure compatibility with both via stricter linting. And I would then do a follow-up pull request to update all the recipes that already use |
@dlaehnemann thanks for this investigation! Regarding plans to switch to |
This pull request is motivated by trying to add a subpackage to an existing package and trying to get the syntax right:
bioconda/bioconda-recipes#58141
I think I have to add both the main and the subpackage under an
outputs:
section, and the linter then complains that it doesn't find any globaltest:
section. So this PR makes the linter go through each subpackage if anoutputs:
section exists, and checks whether all of them have a validtest:
section specified.