Skip to content

Commit

Permalink
Merge pull request #1333 from donoghuc/ruby-3.2
Browse files Browse the repository at this point in the history
(maint) Run unit tests with ruby 3.2
  • Loading branch information
justinstoller committed Mar 15, 2023
2 parents 0b6929d + 0c46cb7 commit 6b05753
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rspec_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
matrix:
cfg:
- {os: ubuntu-18.04, ruby: 2.4}
- {os: ubuntu-18.04, ruby: 2.5}
- {os: ubuntu-18.04, ruby: 2.6}
- {os: ubuntu-18.04, ruby: 2.7}
- {os: ubuntu-18.04, ruby: 3.1}
- {os: ubuntu-18.04, ruby: jruby-9.2.10.0}
- {os: ubuntu-latest, ruby: 2.4}
- {os: ubuntu-latest, ruby: 2.5}
- {os: ubuntu-latest, ruby: 2.6}
- {os: ubuntu-latest, ruby: 2.7}
- {os: ubuntu-latest, ruby: 3.2}
- {os: ubuntu-latest, ruby: jruby-9.2.10.0}
- {os: windows-2019, ruby: 2.5}
- {os: windows-2019, ruby: 2.6}
- {os: windows-2019, ruby: 2.7}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ group :development do
gem 'ruby-prof', :platforms => :ruby
end

if File.exists? "#{__FILE__}.local"
if File.exist? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end
2 changes: 1 addition & 1 deletion spec/unit/action/deploy/environment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def initialize(path, info)

before(:all) do
@tmp_path = "./tmp-r10k-test-dir/"
Dir.mkdir(@tmp_path) unless File.exists?(@tmp_path)
Dir.mkdir(@tmp_path) unless File.exist?(@tmp_path)
end

after(:all) do
Expand Down

0 comments on commit 6b05753

Please sign in to comment.