Skip to content

Commit

Permalink
ci: install only gems required for running tests (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
kou authored May 16, 2024
1 parent 4670f8f commit d574ba5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@ jobs:
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install as gem
env:
BUNDLE_PATH__SYSTEM: "true"
BUNDLE_WITHOUT: "benchmark:development"
run: |
rake install
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 d574ba5

Please sign in to comment.