Skip to content

Commit

Permalink
Support ruby 3.3
Browse files Browse the repository at this point in the history
testing with ruby 3.3
These changes allow other repos to run with ruby 3.3
  • Loading branch information
kbrock committed Sep 27, 2024
1 parent 9637774 commit 0bb23f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
test-suite:
- vmdb
- security
Expand Down Expand Up @@ -52,6 +54,6 @@ jobs:
- name: Run tests
run: bundle exec rake
- name: Report code coverage
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.test-suite == 'vmdb' }}
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.3' && matrix.test-suite == 'vmdb' }}
continue-on-error: true
uses: paambaati/codeclimate-action@v5
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
raise "Ruby versions < 3.0.1 are unsupported!" if RUBY_VERSION < "3.0.1"
raise "Ruby versions >= 3.2.0 are unsupported!" if RUBY_VERSION >= "3.2.0"
warn "Ruby versions >= 3.2.0 are untested!" if RUBY_VERSION >= "3.2.0"
raise "Ruby versions >= 3.4.0 are unsupported!" if RUBY_VERSION >= "3.4.0"

source 'https://rubygems.org'

Expand Down

0 comments on commit 0bb23f1

Please sign in to comment.