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

add nf-core modules test command #1276

Closed
grst opened this issue Sep 24, 2021 · 1 comment
Closed

add nf-core modules test command #1276

grst opened this issue Sep 24, 2021 · 1 comment
Assignees
Labels
command line tools Anything to do with the cli interfaces

Comments

@grst
Copy link
Member

grst commented Sep 24, 2021

Is your feature request related to a problem? Please describe

Running module tests locally requires a fairly complex command that's hard to remember, for instance

NF_CORE_MODULES_TEST=1 TMPDIR=~ PROFILE=singularity pytest --tag fastqc --symlink --keep-workflow-wd

Describe the solution you'd like

A subcommand for the nf-core tools CLI, for instance

nf-core modules test --profile singularity --tag fastqc

A Rich-based CLI asks the user what profile they would like to run with and which software to test when nf-core modules test
is executed without arguments

Additional context

Support to emit multiple versions per module required adding the NF_CORE_MODULES_TEST=1 variable, which made the
command even more complex. See https://github.com/nf-core/nf-co.re/pull/877/files

@ewels ewels added the command line tools Anything to do with the cli interfaces label Dec 9, 2021
@ggabernet
Copy link
Member

nf-core modules test NEW

@mirpedrol mirpedrol self-assigned this Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command line tools Anything to do with the cli interfaces
Projects
None yet
Development

No branches or pull requests

4 participants