nf-core_modules/tests/config/nextflow.config
Edmund Miller ddbca7b467
test: Use profile ENV variable hack
The user will now set the env variable and pass it to pytest. You also
can't set the env variable ahead of time, it has to be run with pytest.
Example:
PROFILE=conda pytest --tag fastqc --symlink --kwd
2021-02-02 12:44:30 -06:00

15 lines
370 B
Text

params {
outdir = "output/"
publish_dir_mode = "copy"
enable_conda = false
}
if("$PROFILE" == "docker") {
docker.enabled = true
docker.runOptions = '-u \$(id -u):\$(id -g)'
} else if ("$PROFILE" == "singularity") {
singularity.enabled = true
singularity.autoMounts = true
} else if ("$PROFILE" == "conda") {
params.enable_conda = true
}