Skip to content

Commit

Permalink
Add Github Actions workflow for RSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz authored Feb 28, 2024
1 parent 41f2896 commit 07c41e4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: RSpec

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
gemfile: [ rails-5.2, rails-6.0, rails-6.1 ]
ruby: [ '2.7' ]
include:
- gemfile: rails-6.1
ruby: '3.0'
- gemfile: rails-7.0
ruby: '2.7'
- gemfile: rails-7.0
ruby: '3.0'
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake

0 comments on commit 07c41e4

Please sign in to comment.