From 27b9129510162d1a2b1ab4d8adc6d27f70ee5e84 Mon Sep 17 00:00:00 2001 From: DLBPointon Date: Thu, 14 Nov 2024 11:58:10 +0000 Subject: [PATCH] Adding a test function to parse nextflow version and resouce requirements --- .github/workflows/ci.yml | 2 +- conf/test.config | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 953811b..d13e810 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,4 +139,4 @@ jobs: # For example: adding multiple test runs with different parameters # Remember that you can parallelise this by using strategy.matrix run: | - nextflow run ./sanger-ascc/${{ steps.branch-names.outputs.current_branch }}/main.nf -profile test,singularity -params-file ./sanger-ascc/assets/test.yaml + nextflow run ./sanger-ascc/${{ steps.branch-names.outputs.current_branch }}/main.nf -profile test,singularity -params-file ./sanger-ascc/${{ steps.branch-names.outputs.current_branch }}/assets/test.yaml diff --git a/conf/test.config b/conf/test.config index d79d723..a3593a5 100644 --- a/conf/test.config +++ b/conf/test.config @@ -10,6 +10,14 @@ ---------------------------------------------------------------------------------------- */ +process { + resourceLimits = [ + cpus = 4 + memory = '8.GB' + time = '6.h' + ] +} + params { config_profile_name = 'Test profile' config_profile_description = 'Minimal test dataset to check pipeline function'