Skip to content

Commit

Permalink
Use the smart_proxy_plugin.yml reusable GHA workflow
Browse files Browse the repository at this point in the history
This is largely the same as test-gem, except it verifies that it at
least implements support for Ruby versions that the Smart Proxy wants.
It also implements the version selector by respecting SMART_PROXY_BRANCH
in the Gemfile.
  • Loading branch information
ekohl committed Nov 28, 2024
1 parent a163a3c commit 80eac89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@ jobs:
test:
name: Tests
needs: rubocop
uses: theforeman/actions/.github/workflows/test-gem.yml@v0
with:
command: bundle exec rake test
uses: theforeman/actions/.github/workflows/smart_proxy_plugin.yml@v0
...
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ group :test do
gem 'mocha', '~> 1'
gem 'rack-test'
gem 'rake', '~> 13'
gem 'smart_proxy', github: 'theforeman/smart-proxy', branch: 'develop'
gem 'smart_proxy', github: 'theforeman/smart-proxy', branch: ENV.fetch('SMART_PROXY_BRANCH', 'develop')
gem 'test-unit', '~> 3'
gem 'webmock', '~> 1'
end

0 comments on commit 80eac89

Please sign in to comment.