Skip to content

test: fixing the default nf-test#26

Merged
kristinebilgrav merged 22 commits intodevfrom
fix-testing
Mar 11, 2026
Merged

test: fixing the default nf-test#26
kristinebilgrav merged 22 commits intodevfrom
fix-testing

Conversation

@kristinebilgrav
Copy link
Contributor

@kristinebilgrav kristinebilgrav commented Feb 24, 2026

Closes #15

Fixes the default nf-test, adding snaphot with software versions, variants in the VCFs, paths and file names.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/oncorefiner branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@github-actions
Copy link

github-actions bot commented Feb 24, 2026

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 7c60c22

+| ✅ 180 tests passed       |+
#| ❔  14 tests were ignored |#
!| ❗  28 tests had warnings |!
Details

❗ Test warnings:

  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • pipeline_todos - TODO string in README.md: TODO nf-core:
  • pipeline_todos - TODO string in README.md: Include a figure that guides the user through the major workflow steps. Many nf-core
  • pipeline_todos - TODO string in README.md: Fill in short bullet-pointed list of the default steps in the pipeline 2. Present QC for raw reads (MultiQC)
  • pipeline_todos - TODO string in README.md: Describe the minimum required steps to execute the pipeline, e.g. how to prepare samplesheets.
  • pipeline_todos - TODO string in README.md: update the following command to include all required parameters for a minimal example
  • pipeline_todos - TODO string in README.md: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file.
  • pipeline_todos - TODO string in README.md: Add bibliography of tools and data used in your pipeline
  • pipeline_todos - TODO string in nextflow.config: Specify your pipeline's command line flags
  • pipeline_todos - TODO string in nextflow.config: Optionally, you can add a pipeline-specific nf-core config at https://github.com/nf-core/configs
  • pipeline_todos - TODO string in nextflow.config: Update the field with the details of the contributors to your pipeline. New with Nextflow version 24.10.0
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
  • pipeline_todos - TODO string in nextflow.config: Specify any additional parameters here
  • pipeline_todos - TODO string in usage.md: Add documentation about anything specific to running your pipeline. For general topics, please point to (and add to) the main nf-core website.
  • pipeline_todos - TODO string in output.md: Write this documentation describing your workflow's output
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_todos - TODO string in test.config: Specify the paths to your test data on nf-core/test-datasets
  • pipeline_todos - TODO string in test.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in test_full.config: Specify the paths to your full test data ( on nf-core/test-datasets or directly in repositories, e.g. SRA)
  • pipeline_todos - TODO string in test_full.config: Give any required params for the test so that command line flags are not needed
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • schema_description - Ungrouped param in schema: snv_vcf
  • schema_description - Ungrouped param in schema: sv_vcf
  • schema_description - Ungrouped param in schema: custom_extra_files
  • local_component_structure - prepare_references.nf in subworkflows/local should be moved to a SUBWORKFLOW_NAME/main.nf structure

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.2
  • Run at 2026-03-10 16:09:01

@kristinebilgrav kristinebilgrav changed the title Adding nf-test test: Adding nf-test Mar 2, 2026
@kristinebilgrav kristinebilgrav marked this pull request as ready for review March 3, 2026 14:49
@kristinebilgrav kristinebilgrav requested a review from a team as a code owner March 3, 2026 14:49
Copy link
Contributor

@fellen31 fellen31 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

Copy link
Contributor

@beatrizsavinhas beatrizsavinhas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default test is finally passing, without referring to local file paths!! Much better, well done!!! 🌟

However, from reading the description of the issue and PR it is not clear to me what changes are intended to be introduced here and what is the reasoning behind these choices. So I have left a lot of comments asking "why?". 😅
As far as I understand, 2 things are being done at the same time here:

  • Update the default nf-test
  • Modify the CI checks for nf-tests

Could you please fill in the descriptions and add explanations for the changes? 🙂

@beatrizsavinhas beatrizsavinhas mentioned this pull request Mar 5, 2026
3 tasks
Copy link
Contributor

@beatrizsavinhas beatrizsavinhas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🌟
Strange that there is no output for stable_path in the snapshot, though. Could you check that?
Also, I think the title (and if possible descriptions) should be updated. This PR is now fixing the default test only.

@kristinebilgrav kristinebilgrav changed the title test: Adding nf-test test: fixing the default nf-test Mar 10, 2026
Copy link
Contributor

@beatrizsavinhas beatrizsavinhas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🌟

@kristinebilgrav kristinebilgrav merged commit 71d30ef into dev Mar 11, 2026
8 checks passed
@kristinebilgrav kristinebilgrav deleted the fix-testing branch March 11, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: CI nf-test

3 participants