Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 8 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
name: CI

on:
- pull_request
- push
on: pull_request

concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- "2.5"
- "2.6"
- "2.7"
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- name: Install development headers
run: sudo apt install libkrb5-dev libldap-dev libsasl2-dev -y
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake test
- name: Verify gem builds
run: gem build *.gemspec
name: Tests
uses: theforeman/actions/.github/workflows/smart_proxy_plugin.yml@v0

7 changes: 1 addition & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ source 'https://rubygems.org'
gemspec

group :development do
if RUBY_VERSION < '2.2.2'
gem 'rack-test', '~> 0.7.0'
else
gem 'rack-test'
end

gem 'rack-test'
gem 'smart_proxy', :git => 'https://github.com/theforeman/smart-proxy.git', :branch => 'develop'
end
Loading