Skip to content
Merged
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: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler --no-document
bundle install
bundler-cache: true
# Avoid issues on these platforms
- if: ${{ matrix.ruby == '2.5' || matrix.ruby == '2.6' }}
run: gem update --system
- name: Run test
run: rake compile test
run: bundle exec rake compile test
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in etc.gemspec
gemspec

# Ensure a new-enough version of fileutils is used in tests,
# to avoid a gem activation issue, which affected Ruby 2.6, 2.5.
# https://github.com/ruby/etc/pull/14#issuecomment-989742427
gem 'fileutils', '>= 1.2.0'