Skip to content

Commit

Permalink
Add Ruby 3.3 to CI
Browse files Browse the repository at this point in the history
The memory leak test fails in CI without changes
  • Loading branch information
Earlopain committed Jun 8, 2024
1 parent 88a7193 commit 5bd72ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
image: mysql
strategy:
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.3' ]
task: [ 'spec' ]
include:
- ruby: 2.7 # keep in sync with lowest version
Expand Down
2 changes: 1 addition & 1 deletion spec/parallel_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ def cpus
def normalize(result)
result = result.sub(/\{(.*)\}/, "\\1").split(", ")
result.reject! { |x| x =~ /^(Hash|Array|String)=>(1|-1|-2)$/ }
result.reject! { |x| x =~ /^(Mutex)=>(1)$/ } if RUBY_VERSION < "2.0"
result.reject! { |x| x =~ /^(Thread::Mutex)=>(1)$/ } if RUBY_VERSION >= "3.3"
result
end

Expand Down

0 comments on commit 5bd72ca

Please sign in to comment.