Skip to content

Resources for testing

Test runners on the online nf-neuro repository restrain their resources usage to specifically what is asked for by Nextflow through the configuration files. For nf-neuro tests, you can find this configuration in tests/config/nextflow.config.

If any of your tests ask for more, you need to define it correctly.

Runner ClassCPUsRAM
(default)44G
scilus-nf-neuro-bigmem-runners632G

Custom resource requirements need to be defined in nextflow.config file(s) associated to your tests and/or test cases. In them, add the process.cpu and process.memory and set their requirements as needed :

process.memory = '9G'
process.cpus = 6

Select an appropriate runner class for your tests. To do so, edit github/workflows/run_checks_suite.yml. Find the matrix definition for the nf-test job (currently around line 133) and add the following request for a runner in the include section :

- runner: <name-of-the-runner-class>
path: modules/nf-neuro/<category>/<tool>