-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
Updated nf-core modules to fix nf-tests
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ testing/ | |
testing* | ||
*.pyc | ||
.nf-tests/ | ||
.nf-test/ | ||
.nf-test.log |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
config { | ||
// location for all nf-tests | ||
// Location of nf-tests | ||
testsDir "." | ||
|
||
// nf-test directory including temporary files for each test | ||
workDir ".nf-tests" | ||
// nf-test directory used to create temporary files for each test | ||
workDir System.getenv("NFT_WORKDIR") ?: ".nf-test" | ||
|
||
// location of library folder that is added automatically to the classpath | ||
libDir "lib/" | ||
|
||
// location of an optional nextflow.config file specific for executing tests | ||
configFile "nextflow.config" | ||
|
||
// run all test with the defined docker profile from the main nextflow.config | ||
profile "" | ||
// Location of an optional nextflow.config file specific for executing pipeline tests | ||
configFile "tests/nextflow.config" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
params { | ||
// Base directory for nf-core/modules test data | ||
modules_testdata_base_path = 's3://ngi-igenomes/testdata/nf-core/modules/' | ||
} | ||
|
||
// Load test_data.config for for using test-datasets | ||
includeConfig '../conf/test_data.config' | ||
|
||
// Impose sensible resource limits for testing | ||
process { | ||
withName: '.*' { | ||
cpus = 2 | ||
memory = 3.GB | ||
time = 2.h | ||
} | ||
} | ||
|
||
// Impose same minimum Nextflow version as the pipeline for testing | ||
manifest { | ||
nextflowVersion = '!>=23.04.0' | ||
} | ||
|
||
// Disable all Nextflow reporting options | ||
timeline { enabled = false } | ||
report { enabled = false } | ||
trace { enabled = false } | ||
dag { enabled = false } |