Skip to content

Commit

Permalink
CI: Add official foreman CI jobs
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
  • Loading branch information
bastelfreak committed Jul 28, 2024
1 parent db90c94 commit cab306b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 2 additions & 4 deletions foreman_hdm.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ 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 'theforeman-rubocop', '~> 0.1.2'
# delete after https://github.com/theforeman/theforeman-rubocop/pull/16 got merged
s.add_development_dependency 'rubocop-rake', '~> 0.6.0'
end

0 comments on commit cab306b

Please sign in to comment.