From da1a2797b3f64da916ee3017a5a045d7f3fdb3cb Mon Sep 17 00:00:00 2001 From: christian Date: Thu, 17 Jun 2021 11:29:41 +0200 Subject: [PATCH] changing stub profile --- .github/workflows/{nextflow-test.yml => DryRun.yml} | 6 +++--- poreCov.nf | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) rename .github/workflows/{nextflow-test.yml => DryRun.yml} (84%) diff --git a/.github/workflows/nextflow-test.yml b/.github/workflows/DryRun.yml similarity index 84% rename from .github/workflows/nextflow-test.yml rename to .github/workflows/DryRun.yml index 2e0f36a..460f9f3 100644 --- a/.github/workflows/nextflow-test.yml +++ b/.github/workflows/DryRun.yml @@ -1,4 +1,4 @@ -name: Syntax_check +name: DryRun on: [push] @@ -12,8 +12,8 @@ jobs: - name: fasta dry run run: | touch genome.fasta - ./nextflow run poreCov.nf --fasta genome.fasta -stub -profile local,stub + ./nextflow run poreCov.nf --fasta genome.fasta -stub -profile stub --cores 2 --max_cores 2 - name: fastq dry run run: | touch reads.fastq - ./nextflow run poreCov.nf --fastq reads.fastq -stub -profile local,stub + ./nextflow run poreCov.nf --fastq reads.fastq -stub -profile stub --cores 2 --max_cores 2 diff --git a/poreCov.nf b/poreCov.nf index a0f77a7..324e472 100755 --- a/poreCov.nf +++ b/poreCov.nf @@ -80,6 +80,7 @@ if ( params.help ) { exit 0, helpMSG() } workflow.profile.contains('nanozoo') || workflow.profile.contains('ukj_cloud') || workflow.profile.contains('local') || + workflow.profile.contains('stub') || workflow.profile.contains('slurm') ) { "executer selected" } else { exit 1, "No executer selected: -profile EXECUTER,ENGINE" }