Skip to content

Commit

Permalink
Merge pull request #48 from roseliux/use-github-actions
Browse files Browse the repository at this point in the history
Use GitHub Actions instead TravisCI
  • Loading branch information
VictorSNA authored Oct 21, 2021
2 parents 37140c3 + f11660e commit 4e825e2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["2.6", "2.7", "3.0"]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2

- name: Set up Ruby, bundler and dependencies
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
run: bundle exec rspec

22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cassette::Client

[![Build Status](https://travis-ci.org/locaweb/cassette.svg)](https://travis-ci.org/locaweb/cassette)
[![Build Status](https://github.com/locaweb/cassette/actions/workflows/ci.yml/badge.svg)](https://github.com/locaweb/cassette/actions/workflows/ci.yml)

[![Test Coverage](https://codeclimate.com/github/locaweb/cassette/badges/coverage.svg)](https://codeclimate.com/github/locaweb/cassette/coverage)

Expand Down
1 change: 1 addition & 0 deletions lib/cassette/authentication/cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require 'cassette/authentication'
require 'cassette/cache'
require 'active_support/notifications'

module Cassette
class Authentication
Expand Down

0 comments on commit 4e825e2

Please sign in to comment.