Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemfile: Add the test group not to install rdoc in CI. #701

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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