Skip to content

Commit 0ea19e0

Browse files
committed
Run automated tests against Ruby 4.0
Signed-off-by: Jordan Hollinger <jordan.hollinger@procore.com>
1 parent c054526 commit 0ea19e0

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎.github/workflows/test.yaml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [ubuntu-latest]
14-
ruby: ["3.2", "3.3"]
14+
ruby: ["3.2", "3.3", "4.0"]
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
@@ -22,8 +22,9 @@ jobs:
2222
bundler-cache: true
2323
- name: Installing dependencies
2424
run: |
25-
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
26-
bundle exec appraisal install --path=vendor/bundle
25+
bundle config set path vendor/bundle
26+
bundle check || bundle install
27+
bundle exec appraisal install
2728
- name: Run tests
2829
run: bundle exec appraisal rake test
2930

‎Gemfile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ gem 'database_cleaner', '~> 2.0'
99
gem 'minitest', '~> 5.0'
1010
gem 'rake', '~> 13.0'
1111
gem 'sqlite3', '~> 2.6'
12+
gem 'ostruct', '~> 0.6'

0 commit comments

Comments
 (0)