+
Skip to content

linting: handle missing test/nextflow.config gracefully #3603

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

Merged
merged 7 commits into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: nfcore/gitpod:latest
image: nfcore/gitpod:dev
tasks:
- name: install current state of nf-core/tools and setup pre-commit
command: |
Expand Down
3 changes: 3 additions & 0 deletions nf_core/pipelines/lint/nf_test_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ def nf_test_content(self) -> Dict[str, List[str]]:
"description": "`pipelines_testdata_base_path`",
},
}
# Check if tests/nextflow.config is present
if not conf_fn.exists():
failed.append(f"'{conf_fn.relative_to(self.wf_path)}' does not exist")

if nf_test_content_conf is None or str(conf_fn.relative_to(self.wf_path)) not in nf_test_content_conf:
checks_passed = {check: False for check in config_checks}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from setuptools import find_packages, setup

version = "3.3.1"
version = "3.3.2dev"

with open("README.md") as f:
readme = f.read()
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载