Skip to content

Commit

Permalink
Travis -> GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
UserNotFound committed Jun 27, 2024
1 parent 200927f commit 8f51ba3
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Tests

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
test:
name: Run tests on Ruby ${{ matrix.RUBY_VERSION }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
RUBY_VERSION: [2.2, 2.3, 2.6, 2.7]
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.RUBY_VERSION }}
bundler: 1.17.3
bundler-cache: true

- name: Rubocop
run: bundle exec rake rubocop

- name: Rspec
run: bundle exec rspec
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# ![](https://raw.github.com/aptible/straptible/master/lib/straptible/rails/templates/public.api/icon-60px.png) Aptible::Resource

[![Gem Version](https://badge.fury.io/rb/aptible-resource.png)](https://rubygems.org/gems/aptible-resource)
[![Build Status](https://travis-ci.org/aptible/aptible-resource.png?branch=master)](https://travis-ci.org/aptible/aptible-resource)
[![Dependency Status](https://gemnasium.com/aptible/aptible-resource.png)](https://gemnasium.com/aptible/aptible-resource)

Foundation classes for Aptible resource server gems.
Expand Down

0 comments on commit 8f51ba3

Please sign in to comment.