Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: add gpu tag test job #478

Open
wants to merge 78 commits into
base: fasta-align-dedup-bwameth
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
596a697
CI: add gpu tag test job
sateeshperi Dec 2, 2024
e03286f
CI: add gpu tag test job
sateeshperi Dec 2, 2024
31af189
CI: add gpu tag test job
sateeshperi Dec 2, 2024
af77e4a
CI: add gpu tag test job
sateeshperi Dec 2, 2024
0712cf0
CI: add gpu tag test job
sateeshperi Dec 2, 2024
4990bf4
CI: add gpu tag test job
sateeshperi Dec 2, 2024
9e6b1a9
CI: add gpu tag test job
sateeshperi Dec 2, 2024
63c856f
CI: add gpu tag test job
sateeshperi Dec 2, 2024
10521aa
CI: add gpu tag test job
sateeshperi Dec 2, 2024
4c00080
CI: add gpu tag test job
sateeshperi Dec 2, 2024
2d482c7
CI: add gpu tag test job
sateeshperi Dec 2, 2024
d571e3c
CI: add gpu tag test job
sateeshperi Dec 2, 2024
231cbc3
add bwameth_gpu test
sateeshperi Dec 2, 2024
0b2f069
add gpu profile to config
sateeshperi Dec 2, 2024
b26a4aa
add bwameth gpu test + snap
sateeshperi Dec 2, 2024
24e35a6
update bwameth default test formatting
sateeshperi Dec 2, 2024
9b43b3e
update bwameth use_gpu test with index name
sateeshperi Dec 2, 2024
5ebc7e2
minor formatting fix
sateeshperi Dec 2, 2024
210199e
add fq2bammeth config + test + snap, ci: nf-test job filter by tag cpu
sateeshperi Dec 2, 2024
c4d81d4
ci: nf-test job filter by tag cpu
sateeshperi Dec 2, 2024
67c8708
add cpu/gpu tags to tests
sateeshperi Dec 2, 2024
d6917c3
touch cpu and gpu test for debug
sateeshperi Dec 2, 2024
754065d
add bwameth run_qualimap test
sateeshperi Dec 2, 2024
4ff6c9e
add setup python step
sateeshperi Dec 2, 2024
4162387
restrict num shards for cpu/gpu to 2
sateeshperi Dec 3, 2024
b2fd76f
add nf-test-shard and nf-test actions
sateeshperi Dec 3, 2024
89cfb48
add ci triggers
sateeshperi Dec 3, 2024
36deedc
lint: ignore ci.yml
sateeshperi Dec 3, 2024
c7a32b4
update nf-test-shard action
sateeshperi Dec 3, 2024
a9f4ee0
update nf-test-shard action
sateeshperi Dec 3, 2024
3c81b89
add tags input for nf-test action
sateeshperi Dec 3, 2024
b278548
Update .github/actions/nf-test-shard/action.yml
sateeshperi Dec 3, 2024
be8dbdd
install pdiff
sateeshperi Dec 3, 2024
d004b5b
nf-test-shard output checkout
sateeshperi Dec 3, 2024
7233ca2
nf-test-shard output checkout
sateeshperi Dec 3, 2024
4febb47
fix job outputs
sateeshperi Dec 3, 2024
7009314
fix job outputs
sateeshperi Dec 3, 2024
804e70e
fix nf-test-shard action
sateeshperi Dec 3, 2024
6a58c88
fix nf-test-shard action
sateeshperi Dec 3, 2024
258449b
fix nf-test-shard action
sateeshperi Dec 3, 2024
f6454d1
fix nf-test-shard action
sateeshperi Dec 3, 2024
001b63f
get-shards matrix json parse
sateeshperi Dec 3, 2024
118b817
get-shards matrix json parse
sateeshperi Dec 3, 2024
e2f7679
get-shards matrix json parse
sateeshperi Dec 3, 2024
d6a1aab
fix sharding
sateeshperi Dec 3, 2024
46637d4
Now filtering nf-test dry-run by --tag, picking up Executed instead o…
GallVp Dec 3, 2024
c3c1592
Fixed gpu typo, removed docker_self_hosted and bumped default resources
GallVp Dec 3, 2024
60947ab
Reduced resources
GallVp Dec 3, 2024
7edb069
add back docker_self_hosted profile + remove disk cleanup step
sateeshperi Dec 4, 2024
c381d9c
test latest-everything also for cpu tests
sateeshperi Dec 4, 2024
4f78c3f
update bwameth cpu tests snaps
sateeshperi Dec 4, 2024
0066282
update bwameth gpu test snap
sateeshperi Dec 5, 2024
07ae4e2
setup-nextflow use v2.0.0
sateeshperi Dec 5, 2024
c1b68ab
Update .github/workflows/linting.yml
sateeshperi Dec 5, 2024
50f0f35
Update .github/workflows/linting.yml
mashehu Dec 5, 2024
67024a7
going back to uriginal setup-nextflow version
mashehu Dec 5, 2024
4f5132a
try v2.1.1
mashehu Dec 5, 2024
c4caa1e
try 2.1.2
mashehu Dec 5, 2024
b883c89
try 2.1.3
mashehu Dec 5, 2024
91e04d6
reset to broader v2 now that it is working again
mashehu Dec 5, 2024
1134404
try again 2.1.3 explicitly
mashehu Dec 5, 2024
0f58839
try 2.1.4
mashehu Dec 5, 2024
aaa58d1
and now reset back to v2
mashehu Dec 5, 2024
ddb99ae
increase max_shards to 15
sateeshperi Dec 5, 2024
ef2cdcb
Corrected test labels, GPU tests with latest-everything, corrected en…
GallVp Dec 9, 2024
05cb5c9
Disabled latest-everything for now
GallVp Dec 9, 2024
5d8cc4b
Bumped nxf min version to 24.10.2
GallVp Dec 9, 2024
1e77463
update qualimap paths in nftignore
sateeshperi Dec 9, 2024
336d466
remove test folder contents only
sateeshperi Dec 10, 2024
18b389c
use ubuntu-latest as default runner
sateeshperi Dec 10, 2024
e98c5de
use ubuntu-latest as default runner
sateeshperi Dec 10, 2024
231d9d1
use ubuntu-latest as default runner
sateeshperi Dec 10, 2024
f8787df
use ubuntu-latest as default runner
sateeshperi Dec 10, 2024
57f5756
add latest-everything to matrix
sateeshperi Dec 10, 2024
c23d1cc
correct NXF VER for nf-test
sateeshperi Dec 10, 2024
18119ab
rm latest-everything from matrix
sateeshperi Dec 10, 2024
099fd57
use gpu profile in tests config
sateeshperi Dec 11, 2024
e6cd57b
update test gpu configs
sateeshperi Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 105 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,101 @@ concurrency:
cancel-in-progress: true

jobs:
test:
name: "Run pipeline with test data (${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }})"
nf-test-gpu:
name: "Run GPU Tests (${{ matrix.NXF_VER }} | ${{ matrix.profile }})"
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/methylseq') }}"
runs-on: "gpu"
strategy:
fail-fast: false
matrix:
NXF_VER:
- "24.04.2"
shard: [1, 2]
filter: [pipeline, workflow]
profile:
- "docker"
- "singularity"
isMaster:
- ${{ github.base_ref == 'master' }}
# Exclude singularity on dev
exclude:
- isMaster: false
profile: "singularity"
env:
NXF_ANSI_LOG: false
sateeshperi marked this conversation as resolved.
Show resolved Hide resolved
TOTAL_SHARDS: 2
sateeshperi marked this conversation as resolved.
Show resolved Hide resolved

steps:
- name: Check out pipeline code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
fetch-depth: 0

- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"

- name: Set up Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: "3.11"

- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: "${{ env.NFT_VER }}"
install-pdiff: true

- name: Set up Apptainer
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-apptainer@main

- name: Set up Singularity
if: matrix.profile == 'singularity'
run: |
mkdir -p $NXF_SINGULARITY_CACHEDIR
mkdir -p $NXF_SINGULARITY_LIBRARYDIR

# Set up secrets
- name: Set up nextflow secrets
if: env.SENTIEON_ENCRYPTION_KEY != '' && env.SENTIEON_LICENSE_MESSAGE != ''
shell: bash
run: |
python -m pip install cryptography
nextflow secrets set SENTIEON_AUTH_DATA $(python3 tests/modules/nf-core/sentieon/license_message.py encrypt --key "$SENTIEON_ENCRYPTION_KEY" --message "$SENTIEON_LICENSE_MESSAGE")
sateeshperi marked this conversation as resolved.
Show resolved Hide resolved

# TODO Skip failing conda tests and document their failures
# https://github.com/nf-core/modules/issues/7017

- name: Clean up Disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- name: Run GPU Tests (Shard ${{ matrix.shard }}/${{ env.TOTAL_SHARDS }})
run: |
nf-test test \
--ci \
--shard ${{ matrix.shard }}/${{ env.TOTAL_SHARDS }} \
--changed-since HEAD^ \
--profile "+${{ matrix.profile }}" \
--filter ${{ matrix.filter }} \
--tag "gpu"

- name: Output log on failure
if: failure()
run: |
sudo apt install bat > /dev/null
batcat --decorations=always --color=always ${{ github.workspace }}/.nf-test/tests/**/nextflow.log

- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: test.xml

nf-test:
name: "Run CPU Tests (${{ matrix.NXF_VER }} | ${{ matrix.profile }})"
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/methylseq') }}"
runs-on: ubuntu-latest
Expand All @@ -34,13 +127,12 @@ jobs:
NXF_VER:
- "24.04.2"
- "latest-everything"
shard: [1, 2, 3, 4, 5]
shard: [1, 2]
filter: [pipeline, workflow]
profile:
- "conda"
- "docker"
- "singularity"
test_name:
- "test"
isMaster:
- ${{ github.base_ref == 'master' }}
# Exclude conda and singularity on dev
Expand All @@ -49,6 +141,10 @@ jobs:
profile: "conda"
- isMaster: false
profile: "singularity"
env:
NXF_ANSI_LOG: false
TOTAL_SHARDS: 2

steps:
- name: Check out pipeline code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
Expand Down Expand Up @@ -97,14 +193,15 @@ jobs:
- name: Clean up Disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- name: Run Tests (Shard ${{ matrix.shard }}/${{ strategy.job-total }})
- name: Run Tests (Shard ${{ matrix.shard }}/${{ env.TOTAL_SHARDS }})
run: |
nf-test test \
--ci \
--shard ${{ matrix.shard }}/${{ strategy.job-total }} \
--shard ${{ matrix.shard }}/${{ env.TOTAL_SHARDS }} \
--changed-since HEAD^ \
--profile "+${{ matrix.profile }}" \
--filter ${{ matrix.filter }}
--filter ${{ matrix.filter }} \
--tag "cpu"

- name: Output log on failure
if: failure()
Expand Down
4 changes: 4 additions & 0 deletions assets/samplesheet_gpu.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sample,fastq_1,fastq_2,genome
SRR389222_sub1,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub1.fastq.gz,,
SRR389222_sub2,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub2.fastq.gz,,
SRR389222_sub3,https://github.com/nf-core/test-datasets/raw/methylseq/testdata/SRR389222_sub3.fastq.gz,,
2 changes: 1 addition & 1 deletion conf/modules/bwameth_align.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process {
withName: BWAMETH_ALIGN {
cache = 'lenient'
cache = 'lenient' // This is set because in the module command the index files are touched so as to have bwameth not complain
ext.args = ''
publishDir = [
path: { "${params.outdir}/${params.aligner}/alignments" },
Expand Down
12 changes: 12 additions & 0 deletions conf/modules/parabricks_fq2bammeth.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
process {
withName: PARABRICKS_FQ2BAMMETH {
cache = 'lenient' // This is set because in the module command the index files are touched so as to have bwameth not complain
ext.args = '--low-memory'
publishDir = [
path: { "${params.outdir}/${params.aligner}/alignments" },
pattern: "*.bam",
mode: params.publish_dir_mode,
enabled: params.save_align_intermeds
]
}
}
1 change: 1 addition & 0 deletions conf/subworkflows/fastq_align_dedup_bwameth.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

includeConfig "../modules/bwameth_align.config"
includeConfig "../modules/parabricks_fq2bammeth.config"
includeConfig "../modules/samtools_sort.config"
includeConfig "../modules/samtools_flagstat.config"
includeConfig "../modules/samtools_stats.config"
Expand Down
11 changes: 11 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,17 @@ profiles {
executor.cpus = 4
executor.memory = 8.GB
}
docker_self_hosted {
sateeshperi marked this conversation as resolved.
Show resolved Hide resolved
docker.enabled = true
docker.fixOwnership = true
docker.runOptions = '--platform=linux/amd64'
}
gpu {
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
use_gpu = true
}
test { includeConfig 'conf/test.config' }
test_full { includeConfig 'conf/test_full.config' }
test_ci { params.pipelines_testdata_base_path = './test-datasets/' }
Expand Down
2 changes: 1 addition & 1 deletion tests/.nftignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ multiqc/{bismark,bismark_hisat,bwameth}/multiqc_data/multiqc_sources.txt
multiqc/{bismark,bismark_hisat,bwameth}/multiqc_report.html
multiqc/{bismark,bismark_hisat,bwameth}/multiqc_plots/{pdf,png,svg}/*.{pdf,png,svg}
pipeline_info/*.{html,json,txt,yml}
qualimap/**/qualimapReport.html
{bismark,bismark_hisat,bwameth}/qualimap/bamqc/*/qualimapReport.html
qualimap/**/css/*
qualimap/**/images_qualimapReport/*
qualimap/**/raw_data_qualimapReport/*
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_emseq_clip_r1.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"
sateeshperi marked this conversation as resolved.
Show resolved Hide resolved

test("Params: bismark | em_seq | clip_r1") {
when {
Expand Down
5 changes: 3 additions & 2 deletions tests/bismark_hisat.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark_hisat") {
when {
params {
aligner = "bismark_hisat"
outdir = "$outputDir"
aligner = "bismark_hisat"
outdir = "$outputDir"
}
}

Expand Down
1 change: 1 addition & 0 deletions tests/bismark_hisat_rrbs.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark_hisat | rrbs") {
when {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark_hisat | save_reference | save_align_intermeds") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_nomeseq.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | nomeseq") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_rrbs.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | rrbs") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_run_preseq.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | run_preseq") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_run_qualimap.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | run_qualimap") {
when {
Expand Down
8 changes: 2 additions & 6 deletions tests/bismark_run_qualimap.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@
"genome_mapping_quality_histogram.png:md5,74776b1e7e8c8876af1cf89d9dbb5f31",
"genome_reads_content_per_read_position.png:md5,c6920dc357411880132c207c7d0aa68d",
"genome_uniq_read_starts_histogram.png:md5,8f7549a63eee3d3f022699aaa5bb858d",
"qualimapReport.html:md5,bbc015c0d1f3c41a08c82fb7a6839039",
"coverage_across_reference.txt:md5,2bb9eb828acfd71ace8f1e6a2ca124b4",
"coverage_histogram.txt:md5,6ee761660a6072e5b6b75b7fe8d2c69e",
"duplication_rate_histogram.txt:md5,d5f25ad3572b98880b6904dcf4b3ed25",
Expand Down Expand Up @@ -601,7 +600,6 @@
"genome_mapping_quality_histogram.png:md5,7ba0db9375d09fd49946b9bca4ba92b4",
"genome_reads_content_per_read_position.png:md5,1a6a7717ea948d2518808f72f58ffdef",
"genome_uniq_read_starts_histogram.png:md5,395413ab1d0e10af72b116fd8cb12685",
"qualimapReport.html:md5,1fe626f663d66a7ce0c6e1e0207d829d",
"coverage_across_reference.txt:md5,081ddc3be3349b0c57d9676c03d84803",
"coverage_histogram.txt:md5,47b75803a6925e883e254bb91d6220d2",
"duplication_rate_histogram.txt:md5,3d06b34e40d1fdeb55c4ad19dc6ddad1",
Expand Down Expand Up @@ -643,7 +641,6 @@
"genome_mapping_quality_histogram.png:md5,017451f46bc875ac58e7906bf7979956",
"genome_reads_content_per_read_position.png:md5,fd94ec5bfe5ca4adfa6ebdeaebe25157",
"genome_uniq_read_starts_histogram.png:md5,2f2555ef88c3bda05315469e684f5b19",
"qualimapReport.html:md5,af640b29bd28f80bdc0ab6fe7d9c97f4",
"coverage_across_reference.txt:md5,a76b3da0ebb2f8bd6c36ec1902cf13f2",
"coverage_histogram.txt:md5,ca854c05e9619233b7d95d44051cab80",
"duplication_rate_histogram.txt:md5,530bb05c648d610227e121e1e74f41f8",
Expand Down Expand Up @@ -685,7 +682,6 @@
"genome_mapping_quality_histogram.png:md5,a22ee10fcb9e34a84f607b089855fb92",
"genome_reads_content_per_read_position.png:md5,9fa406f353148448f6b9ac11880bc6de",
"genome_uniq_read_starts_histogram.png:md5,cf2fe3e30e11e7d6eb2db679cd12dc03",
"qualimapReport.html:md5,c8114fbb2a63da68111f0d4cbb8a1973",
"coverage_across_reference.txt:md5,fb9c989fc6c15d0a8fd0a58b8d3c20ce",
"coverage_histogram.txt:md5,8a3f45461442657433914c6a5ecb1301",
"duplication_rate_histogram.txt:md5,ec9a705fd3a300b126d556afa14c326b",
Expand Down Expand Up @@ -752,6 +748,6 @@
"nf-test": "0.9.2",
"nextflow": "24.10.2"
},
"timestamp": "2024-11-28T09:47:26.992492832"
"timestamp": "2024-12-02T12:34:53.964190449"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | save_reference | save_align_intermeds") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_skip_deduplication.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | skip_deduplication") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_skip_multiqc.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | skip_multiqc") {
when {
Expand Down
1 change: 1 addition & 0 deletions tests/bismark_skip_trimming.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bismark | skip_trimming") {
when {
Expand Down
7 changes: 4 additions & 3 deletions tests/bwameth.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bwameth") {
when {
params {
aligner = "bwameth"
outdir = "$outputDir"
aligner = "bwameth"
outdir = "$outputDir"
}
}

Expand All @@ -18,7 +19,7 @@ nextflow_pipeline {
// stable_path: All files in ${params.outdir}/ with stable content
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
// bam_files: All bam files
def bam_files = getAllFilesFromDir(params.outdir, include: ['**/*.bam'])
def bam_files = getAllFilesFromDir(params.outdir, include: ['**/*.bam'])
assertAll(
{ assert workflow.success},
{ assert snapshot(
Expand Down
1 change: 1 addition & 0 deletions tests/bwameth_rrbs.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ nextflow_pipeline {
name "Test Workflow main.nf"
script "../main.nf"
config "./nextflow.config"
tag "cpu"

test("Params: bwameth | rrbs") {
when {
Expand Down
Loading
Loading