diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0a7fc52..a91264e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,10 +46,17 @@ jobs: - name: Verify gem builds run: gem build --strict --verbose *.gemspec + foremanci: + name: Foreman Plugin tests + uses: theforeman/actions/.github/workflows/foreman_plugin.yml@v0 + with: + plugin: foreman_hdm + tests: needs: - rubocop - test + - foremanci runs-on: ubuntu-latest name: Test suite steps: diff --git a/.rubocop.yml b/.rubocop.yml index 43c0256..4bed7cd 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,6 @@ require: - rubocop-performance - rubocop-rails - rubocop-minitest - - rubocop-rake AllCops: DisplayStyleGuide: true diff --git a/foreman_hdm.gemspec b/foreman_hdm.gemspec index 5f3cb53..5ad5a5d 100644 --- a/foreman_hdm.gemspec +++ b/foreman_hdm.gemspec @@ -18,9 +18,5 @@ Gem::Specification.new do |s| s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6' s.add_development_dependency 'rdoc', '~> 6.5' - s.add_development_dependency 'rubocop', '~> 1.52', '>= 1.52.1' - s.add_development_dependency 'rubocop-minitest', '~> 0.35.0' - s.add_development_dependency 'rubocop-performance', '~> 1.18' - s.add_development_dependency 'rubocop-rails', '~> 2.19', '>= 2.19.1' - s.add_development_dependency 'rubocop-rake', '~> 0.6.0' + s.add_development_dependency 'theforeman-rubocop', '~> 0.1.2' end