Skip to content

Commit

Permalink
Use Github Actions for CI (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlarraz authored Nov 2, 2023
1 parent 69674e8 commit 848dbef
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '2.6'
- '2.7'
- '3.0'
- '3.1'
activerecord:
- '5.2'
- '6.0'
- '6.1'
- '7.0'
exclude:
- activerecord: '5.2'
ruby: '3.1'
- activerecord: '5.2'
ruby: '3.0'
- activerecord: '7.0'
ruby: '2.6'
name: Ruby ${{ matrix.ruby }} / ActiveRecord ${{ matrix.activerecord }}
env:
AR: ~> ${{ matrix.activerecord }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: |
bundle exec rake
2 changes: 1 addition & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--color
--force-color
--profile

0 comments on commit 848dbef

Please sign in to comment.