From b28c3d10c00a5fc0da8b0d47873b07d89047f40f Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Sat, 25 Nov 2023 15:02:38 +0900 Subject: [PATCH] Gemfile: Add the test group not to install rdoc in CI. --- .github/workflows/test.yml | 10 ++++++++-- Gemfile | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bc622df2..61b9be1fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,10 @@ jobs: with: ruby-version: ${{ matrix.ruby }} - - name: depends + - name: bundle config + run: bundle config set --local without development + + - name: bundle install run: bundle install # Enable the verbose option in mkmf.rb to print the compiling commands. @@ -154,7 +157,10 @@ jobs: with: ruby-version: ${{ matrix.ruby }} - - name: depends + - name: bundle config + run: bundle config set --local without development + + - name: bundle install run: bundle install - name: enable mkmf verbose diff --git a/Gemfile b/Gemfile index cdd030acd..20ac75669 100644 --- a/Gemfile +++ b/Gemfile @@ -2,11 +2,14 @@ source "https://rubygems.org" gemspec -group :development do +group :test do gem "rake" gem "rake-compiler" gem "test-unit", "~> 3.0", ">= 3.4.6" gem "test-unit-ruby-core" +end + +group :development do # In the case of Ruby whose rdoc is not a default gem. gem "rdoc" end