Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PROF-7171] Enable Ruby 3.2 testing in CI #2601

Merged
merged 5 commits into from
Feb 7, 2023
Merged

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Feb 7, 2023

What does this PR do?:

This PR finally enables dd-trace-rb testing in CI with Ruby 3.2 (both CircleCI as well as GitHub actions).

It requires the fixes from #2600, which is why it currently also includes those commits. I plan to rebase this to remove them once that other PR is removed, but I wanted to see a green CI build for 3.2. All done!

Motivation:

Enable our customers to use Ruby 3.2, and be confident that there are no regressions.

Additional Notes:

This PR depends on #2600, and that's why I'm opening it as a draft. #2600 has now been merged, marking as ready to review.

How to test the change?:

Validate that the "test-3.2" target shows up and is green on CircleCI; validate that 3.2 shows up and is green on GitHub Actions.

@github-actions github-actions bot added the core Involves Datadog core libraries label Feb 7, 2023
@github-actions github-actions bot removed the core Involves Datadog core libraries label Feb 7, 2023
@ivoanjo ivoanjo marked this pull request as ready for review February 7, 2023 11:35
@ivoanjo ivoanjo requested a review from a team February 7, 2023 11:35
@codecov-commenter
Copy link

Codecov Report

Merging #2601 (b8a028e) into master (c3fbc20) will decrease coverage by 0.01%.
The diff coverage is 97.25%.

@@            Coverage Diff             @@
##           master    #2601      +/-   ##
==========================================
- Coverage   98.04%   98.04%   -0.01%     
==========================================
  Files        1143     1145       +2     
  Lines       62024    62075      +51     
  Branches     2790     2801      +11     
==========================================
+ Hits        60811    60860      +49     
- Misses       1213     1215       +2     
Impacted Files Coverage Δ
spec/datadog/core/runtime/metrics_spec.rb 97.72% <75.00%> (-2.28%) ⬇️
lib/datadog/profiling/component.rb 95.45% <95.45%> (ø)
lib/datadog/core/configuration/components.rb 100.00% <100.00%> (+1.07%) ⬆️
lib/datadog/core/environment/vm_cache.rb 100.00% <100.00%> (ø)
lib/datadog/core/runtime/ext.rb 100.00% <100.00%> (ø)
lib/datadog/core/runtime/metrics.rb 95.16% <100.00%> (+0.24%) ⬆️
lib/datadog/tracing/component.rb 100.00% <100.00%> (ø)
spec/datadog/core/environment/vm_cache_spec.rb 100.00% <100.00%> (ø)
.../datadog/tracing/contrib/support/tracer_helpers.rb 97.82% <100.00%> (ø)
...ec/datadog/tracing/contrib/sidekiq/patcher_spec.rb 96.00% <0.00%> (-4.00%) ⬇️
... and 1 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@lloeki lloeki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@ivoanjo ivoanjo merged commit eadd5e1 into master Feb 7, 2023
@ivoanjo ivoanjo deleted the ivoanjo/enable-ruby-3.2-ci branch February 7, 2023 14:12
@github-actions github-actions bot added this to the 1.10.0 milestone Feb 7, 2023
@TonyCTHsu TonyCTHsu mentioned this pull request Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants