-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from nf-core/ci-memory
Fix CI memory requests
- Loading branch information
Showing
3 changed files
with
72 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
config { | ||
|
||
testsDir "tests" | ||
workDir ".nf-test" | ||
configFile "conf/test.config" | ||
profile "test" | ||
workDir System.getenv("NFT_WORKDIR") ?: ".nf-test" | ||
configFile "tests/nextflow.config" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
params { | ||
// Base directory for nf-core/modules test data | ||
modules_testdata_base_path = 's3://ngi-igenomes/testdata/nf-core/modules/' | ||
|
||
// Base directory for nf-core/nascent test data | ||
// TODO | ||
// pipelines_testdata_base_path = 's3://ngi-igenomes/testdata/nf-core/pipelines/nascent/1.15.0/' | ||
} | ||
|
||
// Impose sensible resource limits for testing | ||
process { | ||
withName: '.*' { | ||
cpus = 2 | ||
memory = 3.GB | ||
time = 2.h | ||
} | ||
} | ||
|
||
// Impose same minimum Nextflow version as the pipeline for testing | ||
manifest { | ||
nextflowVersion = '!>=23.04.0' | ||
} | ||
|
||
// Disable all Nextflow reporting options | ||
timeline { enabled = false } | ||
report { enabled = false } | ||
trace { enabled = false } | ||
dag { enabled = false } | ||
|
||
// HACK Hard code all the params for now | ||
params { | ||
// Input data | ||
input = "${projectDir}/assets/samplesheet.csv" | ||
|
||
// Genome references | ||
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/nascent/reference/GRCh38_chr21.fa' | ||
gtf = 'https://raw.githubusercontent.com/nf-core/test-datasets/nascent/reference/genes_chr21.gtf' | ||
|
||
assay_type = "GROseq" | ||
skip_grohmm = true // FIXME Fails due to higher memory requirements | ||
tuning_file = "${projectDir}/tests/config/tuningparams_small.csv" | ||
filter_bed = "${projectDir}/tests/config/unwanted_region.bed" | ||
intersect_bed = "${projectDir}/tests/config/wanted_region.bed" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters