Skip to content

Commit

Permalink
Adding a test function to parse nextflow version and resouce requirem…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
DLBPointon committed Nov 14, 2024
1 parent 6dd6867 commit 27b9129
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 27b9129

Please sign in to comment.