Skip to content

Commit

Permalink
Merge pull request #411 from tknzk/ruby_versions
Browse files Browse the repository at this point in the history
Ruby versions
  • Loading branch information
tknzk authored May 1, 2023
2 parents 489bba4 + a420827 commit 4b43197
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 28 deletions.
28 changes: 2 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ executors:
working_directory: /root/jpostcode-rb
ruby_3_2:
docker:
- image: rubylang/ruby:3.2.0-dev-focal
- image: rubylang/ruby:3.2-dev-jammy
auth:
username: smarthrinc
password: $DOCKER_HUB_ACCESS_TOKEN
Expand All @@ -20,12 +20,6 @@ executors:
auth:
username: smarthrinc
password: $DOCKER_HUB_ACCESS_TOKEN
ruby_2_7:
docker:
- image: rubylang/ruby:2.7-dev-bionic
auth:
username: smarthrinc
password: $DOCKER_HUB_ACCESS_TOKEN

commands:
install_system_dependencies:
Expand All @@ -51,7 +45,7 @@ commands:
- run:
name: Bundle gems
command: |
gem install bundler -v 2.3.8 --no-document --force
gem install bundler -v 2.4.10 --no-document --force
bundle install
run_tests:
description: "Run tests"
Expand Down Expand Up @@ -87,22 +81,6 @@ jobs:
- submodule_sync
- bundle_gems
- run_tests
run_tests_on_ruby_2_7:
executor: ruby_2_7
steps:
- install_system_dependencies
- checkout
- submodule_sync
- bundle_gems
- run_tests
run_tests_on_ruby_2_6:
executor: ruby_2_6
steps:
- install_system_dependencies
- checkout
- submodule_sync
- bundle_gems
- run_tests

workflows:
version: 2
Expand All @@ -114,5 +92,3 @@ workflows:
context: smarthr-dockerhub
- run_tests_on_ruby_3_0:
context: smarthr-dockerhub
- run_tests_on_ruby_2_7:
context: smarthr-dockerhub
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.4
3.2.2
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ DEPENDENCIES
rubocop-rspec

BUNDLED WITH
2.3.8
2.4.10

0 comments on commit 4b43197

Please sign in to comment.