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.
Available runner classes
Section titled “Available runner classes”| Runner Class | CPUs | RAM |
|---|---|---|
| scilus-docker (default) | 4 | 4G |
| scilus-docker-large | 6 | 32G |
Request for more test resources
Section titled “Request for more test resources”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 = 6Select 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 184) and add the following request for a runner in the
include section :
- runner: <name-of-the-runner-class> path: modules/nf-neuro/<category>/<tool>