From 6c475686246123f88199f6d9f6a991c4aa4b3cd5 Mon Sep 17 00:00:00 2001 From: Shinichi Maeshima Date: Thu, 2 Apr 2026 17:02:16 +0900 Subject: [PATCH] Run CI on all supported Ruby versions Update CI to run tests on the required Ruby versions to ensure the project works correctly across each version. `rubyXL` does not explicitly state supported Ruby versions, but its dependency `rubyzip >= 3.2.2` requires Ruby 3.0 or higher ( https://rubygems.org/gems/rubyzip/versions/3.2.2 ), so target Ruby 3.0 and above. --- .circleci/config.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 414e0333f..04527a165 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,12 +2,15 @@ # # Check https://circleci.com/docs/2.0/language-ruby/ for more details # -version: 2 +version: 2.1 + jobs: build: + parameters: + ruby-version: + type: string docker: - # specify the version you desire here - - image: cimg/ruby:3.1.4 + - image: cimg/ruby:<< parameters.ruby-version >> # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images @@ -58,3 +61,11 @@ jobs: - store_artifacts: path: /tmp/test-results destination: test-results + +workflows: + test: + jobs: + - build: + matrix: + parameters: + ruby-version: ["3.0", "3.1", "3.2", "3.3", "3.4", "4.0"]