Skip to content

Commit

Permalink
Merge pull request #40 from mvz/test-with-github-actions
Browse files Browse the repository at this point in the history
Replace Travis CI with GitHub Actions for running tests
  • Loading branch information
kobsy authored Feb 3, 2022
2 parents 21a3d4f + 150a62a commit 5699af7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 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.

3 changes: 2 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
add_filter "test/"
end

require "rr"

require "minitest/reporters/turn_reporter"
MiniTest::Reporters.use! Minitest::Reporters::TurnReporter.new

require "shoulda/context"
require "pry"
require "rr"
require "minitest/autorun"

0 comments on commit 5699af7

Please sign in to comment.