Skip to content

Commit

Permalink
Merge pull request #197 from nf-core/nf-validation
Browse files Browse the repository at this point in the history
Add nf-validation
  • Loading branch information
edmundmiller authored Apr 10, 2024
2 parents 3e5f583 + 4b288e0 commit f131643
Show file tree
Hide file tree
Showing 11 changed files with 213 additions and 429 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ jobs:
architecture: "x64"

- name: Install pdiff to see diff between nf-test snapshots
run: |
python -m pip install --upgrade pip
pip install pdiff
run: python -m pip install --upgrade pip pdiff cryptography

- uses: nf-core/setup-nf-test@v1

Expand All @@ -84,6 +82,9 @@ jobs:
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results
- name: Run nf-test
env:
NFT_DIFF: "pdiff"
NFT_DIFF_ARGS: "--line-numbers --width 120 --expand-tabs=2"
run: |
nf-test test --verbose --tag PIPELINE --profile "+${{ matrix.profile }}" --junitxml=test.xml --tap=test.tap
Expand Down
2 changes: 1 addition & 1 deletion assets/samplesheet.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sample,fastq_1,fastq_2
SRR4292758,https://github.com/nf-core/test-datasets/raw/hic/data/SRR4292758_00_R1.fastq.gz,https://github.com/nf-core/test-datasets/raw/hic/data/SRR4292758_00_R2.fastq.gz
SRR4292758,https://raw.githubusercontent.com/nf-core/test-datasets/hic/data/SRR4292758_00_R1.fastq.gz,https://raw.githubusercontent.com/nf-core/test-datasets/hic/data/SRR4292758_00_R2.fastq.gz
2 changes: 1 addition & 1 deletion assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"errorMessage": "FastQ file for reads 2 cannot contain spaces and must have extension '.fq.gz' or '.fastq.gz'"
}
},
"required": ["sample", "fastq_1"]
"required": ["sample", "fastq_1", "fastq_2"]
}
}
258 changes: 0 additions & 258 deletions bin/check_samplesheet.py

This file was deleted.

35 changes: 0 additions & 35 deletions modules/local/multiqc.nf

This file was deleted.

31 changes: 0 additions & 31 deletions modules/local/samplesheet_check.nf

This file was deleted.

Loading

0 comments on commit f131643

Please sign in to comment.