Skip to content

Commit

Permalink
Merge pull request #1272 from colindean/patch-1
Browse files Browse the repository at this point in the history
Run tests on Ruby 3.1
  • Loading branch information
MikeMcQuaid authored Dec 19, 2023
2 parents 743f2aa + fe11409 commit e4798d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '3.1'
bundler-cache: true

- name: Run RSpec tests
Expand Down
2 changes: 1 addition & 1 deletion lib/bundle/bundle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def system(cmd, *args, verbose: false)
logs << buf
end
Process.wait(pipe.pid)
success = $CHILD_STATUS.success?
success = $CHILD_STATUS.dup.success?
pipe.close
end
puts logs.join unless success
Expand Down

0 comments on commit e4798d8

Please sign in to comment.