Skip to content

Commit

Permalink
Add Action/Workflow Back.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Sep 1, 2019
1 parent a34d0f0 commit da403a0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.5.x'
- '2.6.x'
rails:
- 'rails_v5.1.x'
- 'rails_v5.2.x'
- 'rails_v6.0.x'
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup System
run: |
sudo apt-get install libsqlite3-dev
- name: Setup Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Bundle
env:
MTSR_RAILS_VERSION: ${{ matrix.rails }}
run: |
export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${MTSR_RAILS_VERSION}.gemfile"
gem uninstall -aIx bundler
gem install bundler -v 1.17.3
bundle install --jobs 4 --retry 3
- name: Test
run: bundle exec rake

0 comments on commit da403a0

Please sign in to comment.