Skip to content

Commit 604e69d

Browse files
committed
Use Ruby 3.4 in the latest version of CI
This PR uses Ruby 3.4 in the latest version of CI. This PR suppresses the following warnings: ## Cucumber ```console Run BUNDLE_GEMFILE=gemfiles/cucumber1_3.gemfile vendor/bats/bin/bats test/cucumber.bats (snip) # /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/cucumber-1.3.20/lib/cucumber/cli/drb_client.rb:1: warning: drb/drb was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. # You can add drb to your Gemfile or gemspec to silence this warning. ``` https://github.com/tmm1/test-queue/actions/runs/12557591208/job/35010466650?pr=134 ## Minitest ```console Run BUNDLE_GEMFILE=gemfiles/minitest5.gemfile vendor/bats/bin/bats test/minitest5.bats (snip) # /opt/hostedtoolcache/Ruby/3.4.1/x64/lib/ruby/gems/3.4.0/gems/minitest-5.10.0/lib/minitest.rb:3: warning: mutex_m was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0. # You can add mutex_m to your Gemfile or gemspec to silence this warning. ``` https://github.com/tmm1/test-queue/actions/runs/12557591208/job/35010466855?pr=134
1 parent e1674e1 commit 604e69d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: [ubuntu]
21-
# Lowest and Latest version.
22-
ruby: ['2.7', '3.3']
21+
# Lowest and Latest versions.
22+
ruby: ['2.7', '3.4']
2323
entry:
2424
- { name: cucumber1_3, bats: test/cucumber.bats }
2525
- { name: cucumber2_4, bats: test/cucumber.bats }

gemfiles/cucumber1_3.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
source 'https://rubygems.org'
66

77
gem 'cucumber', '~> 1.3.10'
8+
gem 'drb'
89
gem 'rake', '< 11.0'
910
gem 'rspec', '>= 2.13', '< 4.0'
1011

gemfiles/minitest5.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
source 'https://rubygems.org'
66

7+
gem 'drb'
78
gem 'minitest', '5.10.0'
89

910
gemspec path: '../'

0 commit comments

Comments
 (0)