Skip to content

Commit

Permalink
Add test for ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alpaca-tc committed Dec 25, 2024
1 parent 3972048 commit 5a4e17a
Showing 1 changed file with 34 additions and 45 deletions.
79 changes: 34 additions & 45 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,61 +29,50 @@ executors:
docker:
- image: ruby:3.3

commands:
ruby_3_4:
docker:
- image: ruby:3.4

jobs:
run_test:
parameters:
executor:
type: string
executor: << parameters.executor >>
resource_class: small
steps:
- checkout
- run: command -v bundle &> /dev/null || gem install bundler
- run: bundle install
- run: bundle exec rspec
- run: bundle exec rubocop

jobs:
ruby_2_5:
executor: ruby_2_5
steps:
- run: gem install bundler -v 2.3.26
- run_test

ruby_2_6:
executor: ruby_2_6
steps:
- run_test

ruby_2_7:
executor: ruby_2_7
steps:
- run_test

ruby_3_0:
executor: ruby_3_0
steps:
- run_test

ruby_3_1:
executor: ruby_3_1
steps:
- run_test

ruby_3_2:
executor: ruby_3_2
steps:
- run_test

ruby_3_3:
executor: ruby_3_3
steps:
- run_test

workflows:
version: 2

test:
jobs:
- ruby_2_5
- ruby_2_6
- ruby_2_7
- ruby_3_0
- ruby_3_1
- ruby_3_2
- ruby_3_3
- run_test:
name: Ruby 2.5
executor: ruby_2_5
- run_test:
name: Ruby 2.6
executor: ruby_2_6
- run_test:
name: Ruby 2.7
executor: ruby_2_7
- run_test:
name: Ruby 3.0
executor: ruby_3_0
- run_test:
name: Ruby 3.1
executor: ruby_3_1
- run_test:
name: Ruby 3.2
executor: ruby_3_2
- run_test:
name: Ruby 3.3
executor: ruby_3_3
- run_test:
name: Ruby 3.4
executor: ruby_3_4

0 comments on commit 5a4e17a

Please sign in to comment.