Skip to content

Commit

Permalink
Add CI GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ltk committed Jan 13, 2022
1 parent c1b45ba commit f68aae0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: [2.6, 2.7, 3.0, 3.1]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Ruby tests
run: bundle exec rspec

0 comments on commit f68aae0

Please sign in to comment.