-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4247 from DataDog/anmarchenko/fix_failing_memory_…
…leaks_test [NOTICKET-1] use Ruby 3.4.1 for test-memcheck GHA + other fixes to bring master CI to green with 3.4
- Loading branch information
Showing
5 changed files
with
88 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:3.4.0-preview2 | ||
FROM ruby:3.4 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
source 'https://rubygems.org' | ||
|
||
gemspec | ||
|
||
gem 'base64' | ||
gem 'benchmark-ips', '~> 2.8' | ||
gem 'benchmark-memory', '< 0.2' # V0.2 only works with 2.5+ | ||
gem 'bigdecimal' | ||
gem 'climate_control', '~> 0.2.0' | ||
gem 'concurrent-ruby' | ||
|
||
# Optional extensions | ||
# TODO: Move this to Appraisals? | ||
# dogstatsd v5, but lower than 5.2, has possible memory leak with datadog. | ||
# @see https://github.com/DataDog/dogstatsd-ruby/issues/182 | ||
gem 'dogstatsd-ruby', '>= 3.3.0', '!= 5.0.0', '!= 5.0.1', '!= 5.1.0' | ||
|
||
gem 'extlz4', '~> 0.3', '>= 0.3.3' | ||
|
||
# Profiler testing dependencies | ||
# NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424. | ||
# Since most of our customers won't have BUNDLE_FORCE_RUBY_PLATFORM=true, it's not something we want to add | ||
# to our CI, so we just shortcut and exclude specific versions that were affecting our CI. | ||
gem 'google-protobuf', ['~> 3.0', '!= 3.7.0', '!= 3.7.1'] | ||
|
||
gem 'json-schema', '< 3' # V3 only works with 2.5+ | ||
gem 'memory_profiler', '~> 0.9' | ||
gem 'mutex_m' | ||
gem 'os', '~> 1.1' | ||
gem 'pimpmychangelog', '>= 0.1.2' | ||
gem 'pry' | ||
gem 'pry-stack_explorer' | ||
gem 'rake', '>= 10.5' | ||
gem 'rake-compiler', '~> 1.1', '>= 1.1.1' # To compile native extensions | ||
gem 'rspec', '~> 3.13' | ||
gem 'rspec-collection_matchers', '~> 1.1' | ||
gem 'rspec-wait', '~> 0' | ||
gem 'rspec_junit_formatter', '>= 0.5.1' | ||
|
||
# 1.50 is the last version to support Ruby 2.6 | ||
gem 'rubocop', '~> 1.50.0', require: false | ||
gem 'rubocop-packaging', '~> 0.5.2', require: false | ||
gem 'rubocop-performance', '~> 1.9', require: false | ||
# 2.20 is the last version to support Ruby 2.6 | ||
gem 'rubocop-rspec', ['~> 2.20', '< 2.21'], require: false | ||
|
||
# Merging branch coverage results does not work for old, unsupported rubies and JRuby | ||
# We have a fix up for review, https://github.com/simplecov-ruby/simplecov/pull/972, | ||
# but given it only affects unsupported version of Ruby, it might not get merged. | ||
gem 'simplecov', git: 'https://github.com/DataDog/simplecov', ref: '3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db' | ||
gem 'simplecov-cobertura', '~> 2.1.0' # Used by codecov | ||
|
||
gem 'warning', '~> 1' # NOTE: Used in spec_helper.rb | ||
gem 'webmock', '>= 3.10.0' | ||
gem 'webrick', '>= 1.8.2' | ||
|
||
group :check do | ||
gem 'rbs', '~> 3.7', require: false | ||
gem 'steep', '~> 1', '>= 1.9.1', require: false | ||
gem 'ruby_memcheck', '>= 3' | ||
gem 'standard', require: false | ||
end | ||
|
||
group :dev do | ||
gem 'ruby-lsp', require: false | ||
gem 'appraisal', '~> 2.4.0', require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters