8000 Add -w/--fail-warned to nf-core pipelines schema lint by qiaobochi040726-source · Pull Request #4503 · nf-core/tools · GitHub
[go: up one dir, main page]

Skip to content

Add -w/--fail-warned to nf-core pipelines schema lint - #4503

Open
qiaobochi040726-source wants to merge 1 commit into
nf-core:mainfrom
qiaobochi040726-source:20261008-schema-lint-fail-warned
Open

qiaobochi040726-source wants to merge 1 commit into
nf-core:mainfrom
qiaobochi040726-source:20261008-schema-lint-fail-warned

Conversation

@qiaobochi040726-source
Copy link
Copy Markdown

Closes #3123.

-w/--fail-warned now makes nf-core pipelines schema lint exit 1 when it hits a warning, so it can gate CI. Without the flag nothing changes.

Verified with the new test in tests/test_cli.py, plus running the function directly: no flag returns normally, -w exits 1.

Warnings during schema lint can now fail the command for use in CI.
@mashehu
mashehu commented Oct 9, 2026
Copy link
Copy Markdown
Member

Please join the github org via the slack channel so the CI runs for you.

@mashehu mashehu added this to the 4.3.0 milestone Oct 9, 2026

This branch has not been deployed

No deployments
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.

Add -w, --fail-warned option to nf-core schema lint

2 participants

0