Skip to content

Commit

Permalink
Set up CI
Browse files Browse the repository at this point in the history
This excludes `head` from the Ruby version matrix due to an issue with
installing Nokogiri, described by sparklemotion/nokogiri#2185.
  • Loading branch information
anderscain63 committed Feb 21, 2021
1 parent 214b9c3 commit c9d88a5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, "3.0"]

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: latest
bundler-cache: true

- name: Run tests
run: bin/test

0 comments on commit c9d88a5

Please sign in to comment.