Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Running nf-core lint -k still runs other module tests #1203

Closed
drpatelh opened this issue Jul 14, 2021 · 0 comments
Closed

Running nf-core lint -k still runs other module tests #1203

drpatelh opened this issue Jul 14, 2021 · 0 comments
Labels
bug Something isn't working linting

Comments

@drpatelh
Copy link
Member

drpatelh commented Jul 14, 2021

I tried to run specific tests with -k pipeline_todos but for some reason I got an API error from the module tests which shouldn't have been run?

$ nf-core lint -k pipeline_todos

INFO     Testing pipeline: .                              __init__.py:212
INFO     Only running tests: 'pipeline_todos'             __init__.py:237

╭────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────╮
<TRUNCATED>
│ nf-core-tools/lib/python3.7/site-packages/nf_core/modules/module_utils.py:79 in get_module_git_log                                                                     │
│                                                                                                                                                                        │
│    78 │   │   raise LookupError(                                                                                                                                       │
│ ❱  79 │   │   │   f"Unable to fetch commit SHA for module {module_name}. API responded with                                                                            │
│       '{response.status_code}'"                                                                                                                                        │
│    80 │   │   )                                                                                                                                                        │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

LookupError: Unable to fetch commit SHA for module cat/fastq. API responded with '403'
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working linting
Projects
None yet
Development

No branches or pull requests

1 participant