nf-core_modules/tests/config/nextflow.config
Harshil Patel 83a500e6b0
Use a config containing all test data for module tests (#365)
* Re-organise all test data

* Fix ECLint

* Fix ECLint agaaainn

* Now is not the time EClint

* Initial commit for test data config

* Rename test data

* Include test config

* Update indents

* Update test for FastQC via config

* Remove quotes of bottom-level variables

* Use underscores in key names

* Get tests working for fastp

* Remove whitespace at beginning of file
2021-03-24 13:07:37 +00:00

29 lines
584 B
Text

params {
outdir = "output/"
publish_dir_mode = "copy"
enable_conda = false
singularity_pull_docker_container = false
}
process {
cpus = 2
memory = 3.GB
time = 48.h
}
if ("$PROFILE" == "singularity") {
singularity.enabled = true
singularity.autoMounts = true
} else if ("$PROFILE" == "conda") {
params.enable_conda = true
} else {
docker.enabled = true
docker.runOptions = '-u \$(id -u):\$(id -g)'
}
// Load test_data.config containing paths to test data
includeConfig 'test_data.config'
manifest {
nextflowVersion = '!>=20.11.0-edge'
}