Skip to content

Commit

Permalink
[FIX] limit test resources and fix configs
Browse files Browse the repository at this point in the history
  • Loading branch information
gagnonanthony committed Nov 18, 2024
1 parent b9836b5 commit 91bc1d6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
6 changes: 1 addition & 5 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,7 @@ profiles {
executor.cpus = 4
executor.memory = 8.GB
}
test {
includeConfig 'conf/test.config'
process.memory = '1 GB'
process.cpus = 1
}
test { includeConfig 'conf/test.config' }
test_full { includeConfig 'conf/test_full.config' }
no_symlink {
params.publish_dir_mode = 'copy'
Expand Down
2 changes: 1 addition & 1 deletion nf-test.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
config {
testsDir "tests"
workDir ".nf-test"
configFile "./nextflow.config"
configFile "tests/nextflow.config"
libDir "tests/lib"
profile "docker"
withTrace false
Expand Down
13 changes: 13 additions & 0 deletions tests/nextflow.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
========================================================================================
Nextflow config file for running tests
========================================================================================
*/

process {
withName: '.*' {
cpus = 2
memory = 3.GB
time = 2.h
}
}

0 comments on commit 91bc1d6

Please sign in to comment.