+
Skip to content

Modules lint - exit code 1 if we have failures #995

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 1 commit into from
Apr 8, 2021

Conversation

ewels
Copy link
Member

@ewels ewels commented Apr 8, 2021

Currently the nf-core module lint command exits with code 0 even if there are failures, meaning that the CI always passes. This PR addresses that, mimics how nf-core lint works.

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

@ewels ewels requested review from KevinMenden and drpatelh April 8, 2021 10:39
Copy link
Member

@drpatelh drpatelh left a comment

Choose a reason for hiding this comment

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

💥

@codecov
Copy link

codecov bot commented Apr 8, 2021

Codecov Report

Merging #995 (0a29cb5) into dev (a3214aa) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #995      +/-   ##
==========================================
- Coverage   69.23%   69.20%   -0.04%     
==========================================
  Files          34       34              
  Lines        4261     4263       +2     
==========================================
  Hits         2950     2950              
- Misses       1311     1313       +2     
Impacted Files Coverage Δ
nf_core/__main__.py 61.00% <0.00%> (-0.39%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3214aa...0a29cb5. Read the comment docs.

@drpatelh drpatelh merged commit 77f159f into nf-core:dev Apr 8, 2021
@ewels ewels deleted the module-lint-exit-1 branch April 8, 2021 11:08
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.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载