Skip to content

Commit

Permalink
#3 Github actions for rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jonspalmer committed Apr 13, 2020
1 parent ff7b89f commit 89e4455
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Ruby on Rails

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rails_version: [5.0.0, 5.2.3, 6.0.0, master]
ruby_version: [2.5.x, 2.6.x, 2.7.x]
steps:
- uses: actions/checkout@master
- name: Setup Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
- name: Build and test with Rake
run: |
gem install bundler:1.17.3
bundle update
bundle install --jobs 4 --retry 3
bundle exec rspec
env:
RAILS_VERSION: ${{ matrix.rails_version }}

0 comments on commit 89e4455

Please sign in to comment.