Skip to content

Commit

Permalink
Move to GitHub Actions (#3)
Browse files Browse the repository at this point in the history
* Move to GitHub Actions

* Drop ruby 2.2 & 2.3
  • Loading branch information
igas authored Dec 17, 2020
1 parent 680c801 commit 381f360
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 12 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
ruby:
- 2.4
- 2.5
- 2.6
- 2.7
paginator:
- pagy
- kaminari
- will_paginate

steps:
- name: Checkout code
uses: actions/checkout@v1

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

- name: Bundle install
run: |
gem install bundler -v 2.2.1
bundle install --jobs 4 --retry 3
- name: rspec
run: |
PAGINATOR=${{ matrix.paginator }} bundle exec rspec --format documentation
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

0 comments on commit 381f360

Please sign in to comment.