Skip to content

Commit

Permalink
Add RSpec workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
corny committed Mar 18, 2024
1 parent 5513ceb commit a66b39c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Ruby

on: [push, fork]

jobs:
test:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: ['2.7', '3.0', '3.2']

steps:
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run rspec
run: bundle exec rake spec

0 comments on commit a66b39c

Please sign in to comment.