-
Notifications
You must be signed in to change notification settings - Fork 38
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
Run shellcheck #537
Run shellcheck #537
Conversation
circle.yml
Outdated
@@ -1,5 +1,8 @@ | |||
version: 2.1 | |||
|
|||
orbs: | |||
shellcheck: circleci/[email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually just a pip package, we should include it in cpp-build-env
and make it part of the lint step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a pip package, but added to cpp-build-env:15-lint and cpp-build-env:15-clang-10.
Codecov Report
@@ Coverage Diff @@
## master #537 +/- ##
=======================================
Coverage 98.74% 98.74%
=======================================
Files 58 58
Lines 8765 8765
=======================================
Hits 8655 8655
Misses 110 110 |
8db4920
to
74e769b
Compare
circle.yml
Outdated
- run: | ||
name: "Run shellcheck" | ||
command: | | ||
git ls-files '*.sh' | xargs shellcheck --external-sources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this fail on error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I checked it with removing one quote from apply_patches.sh
.
Uses https://github.com/koalaman/shellcheck.
Should consider just installing shellcheck and not using the orb.