Skip to content

Commit 0388eef

Browse files
authored
Merge pull request #316 from mishina2228/github-actions
Migrate CI from Travis CI to GitHub Actions
2 parents 83b282e + acce1e9 commit 0388eef

File tree

4 files changed

+35
-31
lines changed

4 files changed

+35
-31
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
continue-on-error: ${{ matrix.experimental }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
ruby: ['2.7', '3.0', '3.1', 'head']
18+
script: [test]
19+
experimental: [false]
20+
include:
21+
- ruby: '2.7'
22+
script: templates:test
23+
experimental: true
24+
25+
steps:
26+
- uses: actions/checkout@v3
27+
- name: Set up Ruby
28+
uses: ruby/setup-ruby@v1
29+
with:
30+
ruby-version: ${{ matrix.ruby }}
31+
bundler-cache: true
32+
- name: Run tests
33+
run: bundle exec rake ${{ matrix.script }}

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
77
gemspec
88

99
gem "rails", github: "rails/rails"
10-
gem "arel", github: "rails/arel"
1110
gem "rack", github: "rack/rack"
11+
gem "rack-session", github: "rack/rack-session"
1212

1313
group :development do
1414
platform :ruby do

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<a href=https://github.com/rails/web-console/tree/v3.7.0>v3.7.0</a>
66
</p>
77

8-
# Web Console [![Build Status](https://travis-ci.org/rails/web-console.svg?branch=master)](https://travis-ci.org/rails/web-console)
8+
# 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)
99

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

0 commit comments

Comments
 (0)