Hello all, I am getting the following error on a r...
# pipeline-maintainers
z
Hello all, I am getting the following error on a release conda test:
Copy code
> Caused by:
    >   Failed to create Conda environment
    >     command: conda create --mkdir --yes --quiet --prefix /home/runner/_work/pathogensurveillance/pathogensurveillance/~/tests/90b361671dbea7fa9e62fd9cdb81a5b6/work/conda/env-db65019d49918242c87acea61c180a50 -c conda-forge -c bioconda conda-forge::quarto=1.6.41 bioconda::r-pathosurveilr=0.4.5
    >     status : 2
    >     message:
    >       usage: conda [-h] [-v] [--no-plugins] [-V] COMMAND ...
    >       conda: error: unrecognized arguments: --mkdir
Here is the failing test: https://github.com/nf-core/pathogensurveillance/actions/runs/21420830538/job/61679772221?pr=188 It looks like this error has been seen before judging from the below messages but was fixed previously: https://nfcore.slack.com/archives/CJRH30T6V/p1753451786966939 https://nfcore.slack.com/archives/C04QR0T3G3H/p1747045692433419 https://nfcore.slack.com/archives/CJRH30T6V/p1760310598491609 Any idea? Thanks!
m
Updating your nextflow version should fix it. This was a bug, I think until 25.04.2
z
This is happening on the github runners. Will updating my local nextflow version affect that somehow?
Does my local nextflow/nf-test version affect how the tests are run on Github?
m
Yes-ish. If you bump the minimum nextflow version (with the nf-core command) it should also change it in the action (we also lint for congruency in the action and config)
z
Ok, I will give that a try. Thanks!