Skip to content

Commit

Permalink
Run tests with different Ruby versions, 2.7 to 3.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtucker committed Jun 3, 2024
1 parent 6b800d9 commit 0e2a2d9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test-app.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: Ruby tests

on: [push]
on: [push, pull_request]

jobs:
test:
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies (bundle)
run: bundle install
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: rake test
run: bundle exec rake test

0 comments on commit 0e2a2d9

Please sign in to comment.