Skip to content

Commit

Permalink
CI: test on multiple ruby versions.
Browse files Browse the repository at this point in the history
Currently, the tests were running on ruby 2.6 and using latest
RubyGems. This is broken since latest RubyGems support Ruby>3. This is
fine since ruby 2.7 is now deprecated.

Kintsugi runs usually on macOS which comes built-in with ruby 2.6, so
it's worth keep testing on that version. So this commit add tests on
multiple ruby versions.
  • Loading branch information
barakwei committed Dec 28, 2023
1 parent e77b370 commit af546ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
main-job:
name: Main
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [2.6, 2.7, 3.2, 3.3]

steps:
- name: Checkout repo
Expand All @@ -18,8 +21,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.10
rubygems: latest
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Run Rake
Expand Down

0 comments on commit af546ff

Please sign in to comment.