Skip to content

Commit

Permalink
Replace Travis CI with GitHub Actions for running tests
Browse files Browse the repository at this point in the history
- Remove Travis CI configuration
- Add GitHub Actions workflow to test with all compatible Ruby versions
  • Loading branch information
mvz committed Oct 16, 2021
1 parent 48817f0 commit 150a62a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 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: Tests
on: [push]

jobs:
ruby:
name: Ruby Tests
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [ "2.3", "2.4", "2.5", "2.6", "2.7", "3.0" ]

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby-version }}
- name: Run Tests
run: bundle exec rake test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit 150a62a

Please sign in to comment.