Skip to content

Commit

Permalink
[ci] Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
phillbaker committed Apr 1, 2023
1 parent 6bac882 commit d1ca020
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2']
gemfile:
- Gemfile
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rake
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

0 comments on commit d1ca020

Please sign in to comment.