Skip to content

Commit

Permalink
switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
urkle committed Dec 8, 2021
1 parent 3ba8c74 commit 5b4cdcf
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI PR Builds

on:
push:
branches:
- master
pull_request:

concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.5', '2.6', '2.7', '3.0']
steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run tests
run: bundle exec rake ci
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ RSpec::Core::RakeTask.new(:spec)

require 'coveralls/rake/task'
Coveralls::RakeTask.new
task :travis => [:spec, 'coveralls:push']
task :ci => [:spec, 'coveralls:push']

0 comments on commit 5b4cdcf

Please sign in to comment.