Skip to content

Commit

Permalink
Merge pull request #34 from envato/ci-rubies
Browse files Browse the repository at this point in the history
CI: add Ruby 3.0, 3.1, 3.2, and 3.3 to the test matrix
  • Loading branch information
orien authored Jan 25, 2024
2 parents 4d1266f + 5225301 commit 4fdf789
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ on:

jobs:
test:
runs-on: ${{ matrix.operating_system }}
runs-on: ${{ matrix.operating_system }}-latest
strategy:
matrix:
operating_system: [ ubuntu-latest, macos-latest ]
ruby_version: [ 2.6, 2.7 ]
operating_system: [ ubuntu ]
ruby_version: [ '2.6', '2.7', '3.0', '3.1', '3.2', '3.3' ]
include:
- { operating_system: macos, ruby_version: '3.2' }
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
bundler-cache: true
- run: bundle exec rake
1 change: 1 addition & 0 deletions knuckle_cluster.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'aws-sdk-ec2', '~> 1'
spec.add_dependency 'aws-sdk-ecs', '~> 1'
spec.add_dependency 'aws-sdk-autoscaling', '~> 1'
spec.add_dependency 'rexml', '~> 3'

spec.add_dependency 'table_print', '~> 1.5'

Expand Down

0 comments on commit 4fdf789

Please sign in to comment.