Skip to content

Commit

Permalink
Add github workflow actions for CI and remove travis
Browse files Browse the repository at this point in the history
  • Loading branch information
shadabahmed committed Dec 26, 2020
1 parent 08b6db9 commit 9480e28
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
include:
- ruby-version: 2.6.6
bundler-version: 1.17.3
rails-version: 4.2.11.3

steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: ${{ matrix.bundler-version }}
- name: Install dependencies
run: bundle install
env:
RAILS_VERSION: ${{ matrix.rails-version }}
- name: Run tests
run: bundle exec rspec
env:
RAILS_VERSION: ${{ matrix.rails-version }}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ group :test do
gem 'rb-fsevent', '~> 0.9'
gem 'rcov', :platforms => :mri_18
gem 'redis', :require => false
gem 'simplecov', :platforms => [:mri_19, :mri_20, :mri_21, :mri_22, :mri_23], :require => false
gem 'simplecov', :require => false
end

group :guard do
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Logstasher [![Gem Version](https://badge.fury.io/rb/logstasher.svg)](https://badge.fury.io/rb/logstasher) [![Build Status](https://travis-ci.org/shadabahmed/logstasher.svg?branch=master)](https://secure.travis-ci.org/shadabahmed/logstasher)
# Logstasher [![Gem Version](https://badge.fury.io/rb/logstasher.svg)](https://badge.fury.io/rb/logstasher) ![Tests](https://github.com/shadabahmed/logstasher/workflows/Tests/badge.svg)
### Awesome Logging for Rails !!

This gem is heavily inspired from [lograge](https://github.com/roidrage/lograge), but it's focused on one thing and one thing only. That's making your logs awesome like this:
Expand Down

0 comments on commit 9480e28

Please sign in to comment.