Skip to content

Commit 9f81c0c

Browse files
committed
Test against Ruby 4.0 in CI
1 parent 78adef2 commit 9f81c0c

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
ruby-version: ["3.2", "3.3", "3.4"]
39+
ruby-version: ["3.2", "3.3", "3.4", "4.0"]
4040
active-record-version-env:
4141
- ACTIVE_RECORD_VERSION="~> 7.1.0"
4242
- ACTIVE_RECORD_VERSION="~> 7.2.0"
@@ -47,19 +47,19 @@ jobs:
4747
- ruby-version: "ruby-head"
4848
active-record-version-env: ACTIVE_RECORD_VERSION="~> 8.1.0"
4949
allow-failure: true
50-
- ruby-version: "3.4"
50+
- ruby-version: "4.0"
5151
active-record-version-env: ACTIVE_RECORD_BRANCH="main"
5252
allow-failure: true
53-
- ruby-version: "3.4"
53+
- ruby-version: "4.0"
5454
active-record-version-env: ACTIVE_RECORD_BRANCH="8-1-stable"
5555
allow-failure: true
56-
- ruby-version: "3.4"
56+
- ruby-version: "4.0"
5757
active-record-version-env: ACTIVE_RECORD_BRANCH="8-0-stable"
5858
allow-failure: true
59-
- ruby-version: "3.4"
59+
- ruby-version: "4.0"
6060
active-record-version-env: ACTIVE_RECORD_BRANCH="7-2-stable"
6161
allow-failure: true
62-
- ruby-version: "3.4"
62+
- ruby-version: "4.0"
6363
active-record-version-env: ACTIVE_RECORD_BRANCH="7-1-stable"
6464
allow-failure: true
6565
continue-on-error: ${{ matrix.allow-failure }}

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ end
1414

1515
gem "activerecord", ENV.fetch("ACTIVE_RECORD_VERSION", nil) if ENV["ACTIVE_RECORD_VERSION"] # standard:disable Bundler/DuplicatedGem
1616

17+
gem "benchmark"
1718
gem "debug"
1819
gem "irb"
1920
gem "mutex_m"

0 commit comments

Comments
 (0)