I need to update a subworkflow and just pulled in ...
# nf-test
d
I need to update a subworkflow and just pulled in
master
from upstream. When I try to run the tests for my swf, it can't load the
nft-anndata
plugin and complains about the versions of `nft-bam`:
Plugin'nft-bam' found, but version 0.6.0 not found.
. When I check https://plugins.nf-test.com/, all the plugins seem to exist in their specified versions -- do I need to do something to get the latest versions? The
nf-test.config
looks like this:
Copy code
config {
    // location for all nf-tests
    testsDir = "."

    // nf-test directory including temporary files for each test
    workDir = System.getenv("NFT_WORKDIR") ?: ".nf-test"

    // location of an optional nextflow.config file specific for executing tests
    configFile = "tests/config/nf-test.config"

    // run all test with the defined docker profile from the main nextflow.config
    profile = ""

    // load the necessary plugins
    plugins {
        load "nft-anndata@0.1.0"
        load "nft-bam@0.6.0"
        load "nft-csv@0.1.0"
        load "nft-compress@0.1.0"
        load "nft-fastq@0.1.0"
        load "nft-utils@0.0.9"
        load "nft-vcf@1.0.7"
    }
}
And I ran the test like this:
Copy code
nf-test test --profile +docker --update-snapshot subworkflows/nf-core/fasta_newick_epang_gappa/tests/main.nf.test
m
nf-test update-plugins
😂 1
We really need to fix that
e
or just removed the plugins folder and retry xD
d
Thanks! I expected that to just work since versions were specified...
n
Yeah it's high on my list to fix during the hackathon 😁
thanks 2