Skip to content

Commit

Permalink
Always use Docker for test config
Browse files Browse the repository at this point in the history
  • Loading branch information
adamd3 committed Mar 26, 2024
1 parent e7cf53f commit c455157
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,29 @@ profiles {
}
// includeConfig 'configs/container.config'
}
test { includeConfig 'configs/test.config' }
test {
process.container = 'adamd3/strainseq:latest'
docker {
enabled = true
userEmulation = true
runOptions = '--pull=always'
}
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
includeConfig 'configs/test.config'
}
}

// Export these variables to prevent local Python/R libraries from conflicting with those in the container
// Export these variables to prevent local Python/R libraries from
// conflicting with those in the container
env {
PYTHONNOUSERSITE = 1
R_PROFILE_USER = "/.Rprofile"
R_ENVIRON_USER = "/.Renviron"
}


// Default configuration for the processes in the pipeline
process {
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
Expand Down

0 comments on commit c455157

Please sign in to comment.