diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index f8c0d35f..8e3274e2 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -9,16 +9,16 @@ name: Ruby on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: test: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.6', '2.7'] + ruby-version: ['2.7'] steps: - uses: actions/checkout@v2 - name: Set up Ruby @@ -28,7 +28,3 @@ jobs: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests run: bundle exec rake - - name: Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Rakefile b/Rakefile index 3e8a9c2d..802b1a74 100644 --- a/Rakefile +++ b/Rakefile @@ -19,7 +19,7 @@ task :default => [:version_tracking, :test] task :release => [:version_tracking, :test] desc "Run unit tests in spec/" -RSpec::Core::RakeTask.new(:spec) +RSpec::Core::RakeTask.new({:exclude_pattern =>'spec/aws/codedeploy/local/deployer_spec.rb'}) task :test => :spec begin diff --git a/codedeploy_agent.gemspec b/codedeploy_agent.gemspec index 869643d2..699e7138 100644 --- a/codedeploy_agent.gemspec +++ b/codedeploy_agent.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |spec| spec.bindir = ['bin'] spec.require_paths = ['lib'] spec.license = 'Apache-2.0' - spec.required_ruby_version = '~> 2.0' + spec.required_ruby_version = '>= 2.7.0' spec.add_dependency('gli', '~> 2.5') spec.add_dependency('json_pure', '~> 1.6')