Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When runnning Conda nf-tests while running CI in my pipeline, I was running into an issue where defaults was being explicitly included as a channel in the conda configuration, leading to warnings and errors in some Conda processes:
The CI setup showed that the condrc files looked like the following, with no channels set up for the runner user after defaults removal:
This PR explicitly sets channels in the conda setup so that we don't get this problem of falling back onto the system condarc file.
There's also an option in the
setup-miniconda
action to explicitly install miniforge, which shouldn't ever have defaults configured in the first place. Might be an alternative to this approach?https://github.com/conda-incubator/setup-miniconda?tab=readme-ov-file#example-10-miniforge
See https://nfcore.slack.com/archives/C04QR0T3G3H/p1758020637890609 for discussion
PR checklist
CHANGELOG.md
is updateddocs
is updated