Skip to content

Commit

Permalink
ci: install only gems required for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 16, 2024
1 parent 4670f8f commit ca12152
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
- name: Install as gem
run: |
rake install
BUNDLE_WITH=test BUNDLE_PATH__SYSTEM=true bundle install
- name: Test
run: |
ruby -run -e mkdir -- tmp
Expand Down
8 changes: 7 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gemspec

group :development do
gem "benchmark_driver"
gem "bundler"
gem "rake"
end

group :benchmark do
gem "benchmark_driver"
end

group :test do
gem "test-unit"
gem "test-unit-ruby-core"
end

0 comments on commit ca12152

Please sign in to comment.