Add shared GitHub Actions workflow for ruby #2
ruby_ci.yml
on: pull_request
Rubocop
/
Rubocop
32s
Matrix: Ruby / existing-database
Waiting for pending jobs
Matrix: Ruby / test
Waiting for pending jobs
Annotations
10 errors
Rubocop / Rubocop:
app/models/concerns/foreman_templates/template_extensions.rb#L8
Style/StringConcatenation: Prefer string interpolation to string concatenation.
|
Rubocop / Rubocop:
app/services/foreman_templates/export_result.rb#L5
Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use `exported: true` instead of `exported = true`.
|
Rubocop / Rubocop:
app/services/foreman_templates/parse_result.rb#L10
Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use `verbose: false` instead of `verbose = false`.
|
Rubocop / Rubocop:
app/services/foreman_templates/template_exporter.rb#L172
Layout/ArgumentAlignment: Use one level of indentation for arguments following the first line of a multi-line method call.
|
Rubocop / Rubocop:
app/services/foreman_templates/template_importer.rb#L50
Style/StringConcatenation: Prefer string interpolation to string concatenation.
|
Rubocop / Rubocop:
app/services/foreman_templates/template_importer.rb#L50
Style/RedundantRegexpEscape: Redundant escape inside regexp literal
|
Rubocop / Rubocop:
foreman_templates.gemspec#L19
Layout/MultilineOperationIndentation: Align the operands of an expression in an assignment spanning multiple lines.
|
Rubocop / Rubocop:
test/functional/api/v2/template_controller_test.rb#L29
Minitest/RefuteIncludes: Prefer using `refute_includes(Dir.entries("#{tmpdir}/provisioning_templates/provision"), 'export_test_template.erb')` over `refute(Dir.entries("#{tmpdir}/provisioning_templates/provision").include?('export_test_template.erb'))`.
|
Rubocop / Rubocop:
test/functional/api/v2/template_controller_test.rb#L154
Minitest/AssertIncludes: Prefer using `assert_includes(Dir.entries("#{tmpdir}/provisioning_templates/provision"), 'exporting_template.erb')` over `assert(Dir.entries("#{tmpdir}/provisioning_templates/provision").include?('exporting_template.erb'))`.
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
Expired
|
1008 Bytes |
|