Skip to content

Raise minimum version to Puppet 7.11 #68

Raise minimum version to Puppet 7.11

Raise minimum version to Puppet 7.11 #68

Triggered via pull request August 19, 2023 14:11
Status Failure
Total duration 2m 59s
Artifacts

ci.yml

on: pull_request
Matrix: spec
Fit to window
Zoom out
Zoom in

Annotations

40 errors
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/adapters.rb#L136
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/adapters.rb#L140
Lint/DuplicateMethods: Method `RSpec::Puppet::Adapters::Base#current_environment` is defined at both lib/rspec-puppet/adapters.rb:123 and lib/rspec-puppet/adapters.rb:140.
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/adapters.rb#L186
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/example/function_example_group.rb#L178
Lint/UnusedMethodArgument: Unused method argument - `node_name`. If it's necessary, use `_` or `_node_name` as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/monkey_patches.rb#L16
Style/GuardClause: Use a guard clause (`return unless !@current_example.respond_to?(:environment) && @current_example.respond_to?(:example_group_instance)`) instead of wrapping the code inside a conditional expression.
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: spec/classes/hash_spec.rb#L25
Layout/SpaceAroundOperators: Operator `=>` should be surrounded by a single space.
spec (ubuntu-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: spec/unit/adapters_spec.rb#L10
RSpec/FilePath: Spec path should end with `rspec/puppet/adapters/base*_spec.rb`.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L38
Metrics/MethodLength: Method has too many lines. [41/37]
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L136
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L140
Lint/DuplicateMethods: Method `RSpec::Puppet::Adapters::Base#current_environment` is defined at both lib/rspec-puppet/adapters.rb:123 and lib/rspec-puppet/adapters.rb:140.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L186
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/example/function_example_group.rb#L178
Lint/UnusedMethodArgument: Unused method argument - `node_name`. If it's necessary, use `_` or `_node_name` as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/monkey_patches.rb#L16
Style/GuardClause: Use a guard clause (`return unless !@current_example.respond_to?(:environment) && @current_example.respond_to?(:example_group_instance)`) instead of wrapping the code inside a conditional expression.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/classes/hash_spec.rb#L25
Layout/ExtraSpacing: Unnecessary spacing detected.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/classes/hash_spec.rb#L25
Layout/SpaceAroundOperators: Operator `=>` should be surrounded by a single space.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/unit/adapters_spec.rb#L10
RSpec/FilePath: Spec path should end with `rspec/puppet/adapters/base*_spec.rb`.
spec (ubuntu-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/unit/adapters_spec.rb#L105
RSpec/ImplicitSubject: Don't use implicit subject.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L38
Metrics/MethodLength: Method has too many lines. [41/37]
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L136
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L140
Lint/DuplicateMethods: Method `RSpec::Puppet::Adapters::Base#current_environment` is defined at both lib/rspec-puppet/adapters.rb:123 and lib/rspec-puppet/adapters.rb:140.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/adapters.rb#L186
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/example/function_example_group.rb#L178
Lint/UnusedMethodArgument: Unused method argument - `node_name`. If it's necessary, use `_` or `_node_name` as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: lib/rspec-puppet/monkey_patches.rb#L16
Style/GuardClause: Use a guard clause (`return unless !@current_example.respond_to?(:environment) && @current_example.respond_to?(:example_group_instance)`) instead of wrapping the code inside a conditional expression.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/classes/hash_spec.rb#L25
Layout/ExtraSpacing: Unnecessary spacing detected.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/classes/hash_spec.rb#L25
Layout/SpaceAroundOperators: Operator `=>` should be surrounded by a single space.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/unit/adapters_spec.rb#L10
RSpec/FilePath: Spec path should end with `rspec/puppet/adapters/base*_spec.rb`.
spec (windows-latest ruby 2.7 | puppet ~> 7.0) / spec: spec/unit/adapters_spec.rb#L105
RSpec/ImplicitSubject: Don't use implicit subject.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/adapters.rb#L136
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/adapters.rb#L140
Lint/DuplicateMethods: Method `RSpec::Puppet::Adapters::Base#current_environment` is defined at both lib/rspec-puppet/adapters.rb:123 and lib/rspec-puppet/adapters.rb:140.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/adapters.rb#L186
Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/example/function_example_group.rb#L178
Lint/UnusedMethodArgument: Unused method argument - `node_name`. If it's necessary, use `_` or `_node_name` as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: lib/rspec-puppet/monkey_patches.rb#L16
Style/GuardClause: Use a guard clause (`return unless !@current_example.respond_to?(:environment) && @current_example.respond_to?(:example_group_instance)`) instead of wrapping the code inside a conditional expression.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: spec/classes/hash_spec.rb#L25
Layout/SpaceAroundOperators: Operator `=>` should be surrounded by a single space.
spec (windows-latest ruby 3.2 | puppet https://github.com/puppetlabs/puppet) / spec: spec/unit/adapters_spec.rb#L10
RSpec/FilePath: Spec path should end with `rspec/puppet/adapters/base*_spec.rb`.