Skip to content

Commit

Permalink
Merge pull request #316 from mishina2228/github-actions
Browse files Browse the repository at this point in the history
Migrate CI from Travis CI to GitHub Actions
  • Loading branch information
gsamokovarov authored Jun 12, 2022
2 parents 83b282e + acce1e9 commit 0388eef
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 31 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
- push
- pull_request

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', 'head']
script: [test]
experimental: [false]
include:
- ruby: '2.7'
script: templates:test
experimental: true

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake ${{ matrix.script }}
29 changes: 0 additions & 29 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 @@ -7,8 +7,8 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gemspec

gem "rails", github: "rails/rails"
gem "arel", github: "rails/arel"
gem "rack", github: "rack/rack"
gem "rack-session", github: "rack/rack-session"

group :development do
platform :ruby do
Expand Down
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a href=https://github.com/rails/web-console/tree/v3.7.0>v3.7.0</a>
</p>

# Web Console [![Build Status](https://travis-ci.org/rails/web-console.svg?branch=master)](https://travis-ci.org/rails/web-console)
# Web Console [![CI](https://github.com/rails/web-console/actions/workflows/ci.yml/badge.svg)](https://github.com/rails/web-console/actions/workflows/ci.yml)

_Web Console_ is a debugging tool for your Ruby on Rails applications.

Expand Down

0 comments on commit 0388eef

Please sign in to comment.