Skip to content

Add GitHub actions #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: test

on:
push:
branches:
- master
pull_request:

jobs:
job-test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [
'2.5',
'2.6',
'2.7',
'3.0'
]

steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}

- name: Check out source code
uses: actions/checkout@v2

- name: Bundler
run: |
gem install bundler
bundle install
- name: Run test
run: bundle exec rake
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ An example auth hash available in `request.env['omniauth.auth']`:

## Supported Rubies

OmniAuth Line is tested under 2.1.x, 2.2.x.
OmniAuth Line is tested under 2.5 ~ 3.0.