-
Notifications
You must be signed in to change notification settings - Fork 1
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
tests: Add test case for cross-organization subwf #6
Conversation
Strangely it is passing at the moment, it seems the install command returns a passing exit code regardless of installing all modules. - Addresses #2
You mean it's passing locally ? I can't see any action run here on GitHub CI |
Ooh ok that makes sense, I had tested it locally. I'll test the actual subworkflow install command manually (outside of the test) and capture the exit code, but that seems like it's returning a 0 even when it doesn't install every component. |
Yep, that's definitely the case, when running: nf-core subworkflows --git-remote https://github.com/jvfe/test-subworkflow-remote install hic_bwamem2 and then getting the exit code: echo $? it returns 0. |
Apparently this is expected (discussed here). So the way to go is to check for the missing module in the module json list, which is what 568363a does. |
Yep, now it's failing as expected: https://github.com/sanger-tol/nf-core-tools/actions/runs/9717099844/job/26822060543 |
Looks fine.
Yep, I'm wondering too ! Also, if the return value of |
This reverts commit 534da92.
Thanks! I've now created the issue. I was hesitant to create it at first since given the conversation on slack I thought it was something expected. Yeah and I'm not sure why the CI wasn't running, but I just sent some dummy commits and now it runs. I tried to change the base branch for this PR to see if that was the reason behind it (like if maybe it just runs the CI for PRs against the main branch), but apparently not. |
Apparently the issue with the modules test failing is unrelated to my changes, because, after some local testing, I could see it also fails in the master branch. Given that's the case, I'll be merging this then. |
Add last changes to Textual create
Strangely it is passing at the moment, it seems the install command returns a passing exit code regardless of installing all modules.
PR checklist
CHANGELOG.md
is updateddocs
is updated