-
Notifications
You must be signed in to change notification settings - Fork 20
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
Use reusable GitHub Actions for testing #55
Conversation
@ShimShtein can you please review? |
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.
I'd disable the cop that enforces single quotes. It's essentially rewriting the whole codebase and it's debatable if adds any value. In the past there was a performance benefit but that's no longer true.
.rubocop.yml
Outdated
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.
I'm generally a fan of enabling all cops:
AllCops:
NewCops: enable
I will continue this work after theforeman/hammer-cli-foreman-ansible#27 and theforeman/hammer-cli-foreman-ansible#29 are merged. |
Created #57 for adding Rubocop. |
@@ -9,39 +9,39 @@ | |||
|
|||
include CommandTestHelper | |||
|
|||
context "ListCommand" do | |||
describe "ListCommand" do |
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.
Isn't this a RuboCop rule, or is it related to updating a dependency?
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.
Updating the dependency. Apparently, you cannot have a context inside a describe block.
Thanks everyone! |
No description provided.