Skip to content

Commit

Permalink
test: nf-test init
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Apr 2, 2024
1 parent 2926644 commit 612c274
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
.idea
*.log
tmp/

.nextflow*
.nf-test*
work/
results/
10 changes: 10 additions & 0 deletions conf/test.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
params {
bams = [ "https://raw.githubusercontent.com/Kraus-Lab/groHMM/master/inst/extdata/S0mR1.bam", "https://raw.githubusercontent.com/Kraus-Lab/groHMM/master/inst/extdata/S40mR1.bam" ]
}

process {
cpus = 6
memory = '16.GB'
time = '1h'

}
4 changes: 1 addition & 3 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ profiles {
local {
wave.enabled = true
docker.enabled = true
cpus = 6
memory = '16 GB'
time = '1h'
includeConfig "conf/test.config"
}
utd_ganymede {
includeConfig "https://raw.githubusercontent.com/nf-core/configs/master/conf/utd_ganymede.config"
Expand Down
8 changes: 8 additions & 0 deletions nf-test.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
config {

testsDir "tests"
workDir ".nf-test"
configFile "conf/test.config"
profile "local"

}
5 changes: 5 additions & 0 deletions tests/nextflow.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
========================================================================================
Nextflow config file for running tests
========================================================================================
*/

0 comments on commit 612c274

Please sign in to comment.